]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - disassembler/ARM64/A64DOpcode.h
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / disassembler / ARM64 / A64DOpcode.h
index 1c6ac431906694a755bae0bcaaa2e5ea6b1c9642..5bb7db9f12b34fb25323b8f14924b0254bbb07d4 100644 (file)
@@ -172,12 +172,12 @@ protected:
 
     void appendUnsignedImmediate64(uint64_t immediate)
     {
-        bufferPrintf("#0x%llx", immediate);
+        bufferPrintf("#0x%" PRIx64, immediate);
     }
 
     void appendPCRelativeOffset(uint32_t* pc, int32_t immediate)
     {
-        bufferPrintf("0x%llx", reinterpret_cast<uint64_t>(pc + immediate));
+        bufferPrintf("0x%" PRIx64, reinterpret_cast<uint64_t>(pc + immediate));
     }
 
     void appendShiftAmount(unsigned amount)