forked from OSchip/llvm-project
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:
parent
fe22b7474b
commit
6db41e608f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue