Skip to content

Commit

Permalink
Fix type mismatch in omp_control_tool() implementation that makes it …
Browse files Browse the repository at this point in the history
…run incorrectly on 32-bit machines.

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

llvm-svn: 322068
  • Loading branch information
pawosm-arm committed Jan 9, 2018
1 parent fe22b74 commit 6db41e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/runtime/src/kmp_ftn_entry.h
Expand Up @@ -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;
Expand Down

0 comments on commit 6db41e6

Please sign in to comment.