[Openmp-commits] [PATCH] D41854: [OMPT] Fix type mismatch in omp_control_tool() implementation that makes it run incorrectly on 32-bit machines

Paul Osmialowski via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 9 02:12:39 PST 2018


pawosm01 created this revision.
pawosm01 added a reviewer: Hahnfeld.
pawosm01 added a project: OpenMP.
Herald added a subscriber: openmp-commits.

Repository:
  rOMP OpenMP

https://reviews.llvm.org/D41854

Files:
  runtime/src/kmp_ftn_entry.h


Index: runtime/src/kmp_ftn_entry.h
===================================================================
--- runtime/src/kmp_ftn_entry.h
+++ runtime/src/kmp_ftn_entry.h
@@ -345,7 +345,7 @@
 }
 
 #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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41854.129049.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180109/45561d06/attachment.bin>


More information about the Openmp-commits mailing list