Fix type mismatch in omp_control_tool() implementation that makes it run incorrectly on 32-bit machines.

Differential Revision: https://reviews.llvm.org/D41854

llvm-svn: 322068
This commit is contained in:
Paul Osmialowski 2018-01-09 10:54:06 +00:00
parent fe22b7474b
commit 6db41e608f
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ int FTN_STDCALL KMP_EXPAND_NAME(FTN_GET_MAX_THREADS)(void) {
}
#if OMP_50_ENABLED
int FTN_STDCALL FTN_CONTROL_TOOL(uint64_t command, uint64_t modifier,
int FTN_STDCALL FTN_CONTROL_TOOL(int command, int modifier,
void *arg) {
#if defined(KMP_STUB) || !OMPT_SUPPORT
return -2;