summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Osmialowski <pawel.osmialowski@arm.com>2018-01-09 10:54:06 +0000
committerPaul Osmialowski <pawel.osmialowski@arm.com>2018-01-09 10:54:06 +0000
commit6db41e608f95bd405735b886b8246b1f566e38c6 (patch)
tree70ccdf53af5aed4145b4ca9fd8263405a9cf34a7
parentfe22b7474b6ff40c98c9dfa877a9dfec41e38e37 (diff)
downloadbcm5719-llvm-6db41e608f95bd405735b886b8246b1f566e38c6.tar.gz
bcm5719-llvm-6db41e608f95bd405735b886b8246b1f566e38c6.zip
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
-rw-r--r--openmp/runtime/src/kmp_ftn_entry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_ftn_entry.h b/openmp/runtime/src/kmp_ftn_entry.h
index d857341bf4c..72d899efee7 100644
--- a/openmp/runtime/src/kmp_ftn_entry.h
+++ b/openmp/runtime/src/kmp_ftn_entry.h
@@ -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;
OpenPOWER on IntegriCloud