hotspot/src/share/vm/runtime/synchronizer.cpp
changeset 1889 24b003a6fe46
parent 1665 7b9a44b26afd
child 2105 347008ce7984
--- a/hotspot/src/share/vm/runtime/synchronizer.cpp	Wed Dec 24 13:06:09 2008 -0800
+++ b/hotspot/src/share/vm/runtime/synchronizer.cpp	Wed Dec 24 19:13:53 2008 -0800
@@ -424,7 +424,7 @@
 // asserts is that error message -- often something about negative array
 // indices -- is opaque.
 
-#define CTASSERT(x) { int tag[1-(2*!(x))]; printf ("Tag @%X\n", tag); }
+#define CTASSERT(x) { int tag[1-(2*!(x))]; printf ("Tag @" INTPTR_FORMAT "\n", (intptr_t)tag); }
 
 void ObjectMonitor::ctAsserts() {
   CTASSERT(offset_of (ObjectMonitor, _header) == 0);