[Openmp-commits] [openmp] r322068 - Fix type mismatch in omp_control_tool() implementation that makes it run incorrectly on 32-bit machines.

Paul Osmialowski via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 9 02:54:06 PST 2018


Author: pawosm01
Date: Tue Jan  9 02:54:06 2018
New Revision: 322068

URL: http://llvm.org/viewvc/llvm-project?rev=322068&view=rev
Log:
Fix type mismatch in omp_control_tool() implementation that makes it run incorrectly on 32-bit machines.

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

Modified:
    openmp/trunk/runtime/src/kmp_ftn_entry.h

Modified: openmp/trunk/runtime/src/kmp_ftn_entry.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_ftn_entry.h?rev=322068&r1=322067&r2=322068&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_ftn_entry.h (original)
+++ openmp/trunk/runtime/src/kmp_ftn_entry.h Tue Jan  9 02:54:06 2018
@@ -345,7 +345,7 @@ int FTN_STDCALL KMP_EXPAND_NAME(FTN_GET_
 }
 
 #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;




More information about the Openmp-commits mailing list