changeset 49284:1d46f84cb930

8199467: Compilation Errors in libinstrument Reentrancy.c with VS2017 Reviewed-by: sspitsyn, martin
author rriggs
date Thu, 22 Mar 2018 09:41:29 -0400
parents 31c5e0d5f4c3
children c2a3a2aa2475
files src/java.instrument/share/native/libinstrument/Reentrancy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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(