src/java.instrument/share/native/libinstrument/Reentrancy.c
changeset 49279 1d46f84cb930
parent 47216 71c04702a3d5
child 49566 7c224ec572d0
--- a/src/java.instrument/share/native/libinstrument/Reentrancy.c	Thu Mar 22 12:13:08 2018 +0100
+++ b/src/java.instrument/share/native/libinstrument/Reentrancy.c	Thu Mar 22 09:41:29 2018 -0400
@@ -90,7 +90,7 @@
                 jthread         thread,
                 const void *    expected) {
     jvmtiError  error;
-    void *      test = (void *) 0x99999999;
+    void *      test = (void *) 0x99999999UL;
 
     /* now check if we do a fetch we get what we wrote */
     error = (*jvmtienv)->GetThreadLocalStorage(