aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/ompt-specific.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-07-06 15:34:20 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-07-06 15:34:20 +0000
commitac6ac67b2ab6427932c6227c0c7b4adccaa7e86b (patch)
treece368d6127cdb2effd420010708e85864a2cc22e /runtime/src/ompt-specific.cpp
parent892fa5d8d78f7c2a331b3595e6da6aeaa1398b02 (diff)
downloadsrc-ac6ac67b2ab6427932c6227c0c7b4adccaa7e86b.tar.gz
src-ac6ac67b2ab6427932c6227c0c7b4adccaa7e86b.zip
Notes
Notes: svn path=/vendor/llvm-openmp/dist-release_80/; revision=349789 svn path=/vendor/llvm-openmp/openmp-release_801-r366581/; revision=350176; tag=vendor/llvm-openmp/openmp-release_801-r366581
Diffstat (limited to 'runtime/src/ompt-specific.cpp')
-rw-r--r--runtime/src/ompt-specific.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/ompt-specific.cpp b/runtime/src/ompt-specific.cpp
index a6d02ddb85e3..b985f8461448 100644
--- a/runtime/src/ompt-specific.cpp
+++ b/runtime/src/ompt-specific.cpp
@@ -211,7 +211,7 @@ ompt_data_t *__ompt_get_thread_data_internal() {
void __ompt_thread_assign_wait_id(void *variable) {
kmp_info_t *ti = ompt_get_thread();
- ti->th.ompt_thread_info.wait_id = (ompt_wait_id_t)variable;
+ ti->th.ompt_thread_info.wait_id = (ompt_wait_id_t)(uintptr_t)variable;
}
int __ompt_get_state_internal(ompt_wait_id_t *omp_wait_id) {