1.1 --- a/src/share/vm/runtime/synchronizer.cpp Wed Dec 24 13:06:09 2008 -0800 1.2 +++ b/src/share/vm/runtime/synchronizer.cpp Wed Dec 24 19:13:53 2008 -0800 1.3 @@ -424,7 +424,7 @@ 1.4 // asserts is that error message -- often something about negative array 1.5 // indices -- is opaque. 1.6 1.7 -#define CTASSERT(x) { int tag[1-(2*!(x))]; printf ("Tag @%X\n", tag); } 1.8 +#define CTASSERT(x) { int tag[1-(2*!(x))]; printf ("Tag @" INTPTR_FORMAT "\n", (intptr_t)tag); } 1.9 1.10 void ObjectMonitor::ctAsserts() { 1.11 CTASSERT(offset_of (ObjectMonitor, _header) == 0);