diff --git a/src/compile.cpp b/src/compile.cpp index ff6f15a5a6..add06d4845 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -189,8 +189,10 @@ compareIpToMethodBounds(Thread* t, intptr_t ip, object method) intptr_t start = methodCompiled(t, method); if (DebugMethodTree) { - fprintf(stderr, "find 0x%"LX" in (0x%"LX",0x%"LX")\n", ip, start, - start + compiledSize(start)); + fprintf(stderr, "find %p in (%p,%p)\n", + reinterpret_cast(ip), + reinterpret_cast(start), + reinterpret_cast(start + compiledSize(start))); } if (ip < start) {