< prev index next >

hotspot/src/share/vm/utilities/globalDefinitions.hpp

Print this page

        

@@ -1057,11 +1057,11 @@
 const int      badCodeHeapFreeVal = 0xDD;                   // value used to zap Code heap at deallocation
 
 
 // (These must be implemented as #defines because C++ compilers are
 // not obligated to inline non-integral constants!)
-#define       badAddress        ((address)::badAddressVal)
+#define       badAddress        ((address)(intptr_t)::badAddressVal)
 #define       badOop            (cast_to_oop(::badOopVal))
 #define       badHeapWord       (::badHeapWordVal)
 #define       badJNIHandle      (cast_to_oop(::badJNIHandleVal))
 
 // Default TaskQueue size is 16K (32-bit) or 128K (64-bit)
< prev index next >