[Openmp-commits] [PATCH] D41853: [OMPT] Fix cast and printf of wait_id in lock test
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 10 00:11:51 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL322160: [OMPT] Fix cast and printf of wait_id in lock test (authored by Hahnfeld, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D41853?vs=129048&id=129217#toc
Repository:
rL LLVM
https://reviews.llvm.org/D41853
Files:
openmp/trunk/runtime/test/ompt/synchronization/lock.c
Index: openmp/trunk/runtime/test/ompt/synchronization/lock.c
===================================================================
--- openmp/trunk/runtime/test/ompt/synchronization/lock.c
+++ openmp/trunk/runtime/test/ompt/synchronization/lock.c
@@ -10,7 +10,7 @@
print_ids(0);
omp_lock_t lock;
- printf("%" PRIu64 ": &lock: %lli\n", ompt_get_thread_data()->value, (long long) &lock);
+ printf("%" PRIu64 ": &lock: %" PRIu64 "\n", ompt_get_thread_data()->value, (uint64_t) &lock);
omp_init_lock(&lock);
print_current_address(1);
omp_set_lock(&lock);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41853.129217.patch
Type: text/x-patch
Size: 570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180110/c821b374/attachment.bin>
More information about the Openmp-commits
mailing list