summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test/ompt/synchronization/nest_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/test/ompt/synchronization/nest_lock.c')
-rw-r--r--openmp/runtime/test/ompt/synchronization/nest_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/test/ompt/synchronization/nest_lock.c b/openmp/runtime/test/ompt/synchronization/nest_lock.c
index 60c1a014918..159048e2e74 100644
--- a/openmp/runtime/test/ompt/synchronization/nest_lock.c
+++ b/openmp/runtime/test/ompt/synchronization/nest_lock.c
@@ -10,7 +10,7 @@ int main()
print_ids(0);
omp_nest_lock_t nest_lock;
- printf("%" PRIu64 ": &nest_lock: %lli\n", ompt_get_thread_data()->value, (ompt_wait_id_t) &nest_lock);
+ printf("%" PRIu64 ": &nest_lock: %lli\n", ompt_get_thread_data()->value, (ompt_wait_id_t)(uintptr_t) &nest_lock);
omp_init_nest_lock(&nest_lock);
print_fuzzy_address(1);
omp_set_nest_lock(&nest_lock);
OpenPOWER on IntegriCloud