[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:55:33 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL322068: Fix type mismatch in omp_control_tool() implementation that makes it run… (authored by pawosm01, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D41854?vs=129049&id=129055#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D41854

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


Index: openmp/trunk/runtime/src/kmp_ftn_entry.h
===================================================================
--- openmp/trunk/runtime/src/kmp_ftn_entry.h
+++ openmp/trunk/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.129055.patch
Type: text/x-patch
Size: 484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180109/c8758f36/attachment.bin>


More information about the Openmp-commits mailing list