forked from OSchip/llvm-project
[OMPT] Fix cast and printf of wait_id in lock test
This didn't work on 32 bit platforms. Differential Revision: https://reviews.llvm.org/D41853 llvm-svn: 322160
This commit is contained in:
parent
85a6057e9d
commit
f34d65a164
|
@ -10,7 +10,7 @@ int main()
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue