aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-03-10 12:49:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-10 21:00:22 +0100
commitf67335fc340eafba04437e4b75ce9ac3edbffc54 (patch)
tree63e5cb62df393d2879b7470c226351136f1fa624
parentb919d2de313562bb568b348a14c1c52eff0c9ddb (diff)
Fix compile error
Change-Id: Iba3860ef8ea940b8f232e21e273b0ac83d895882 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
-rw-r--r--src/3rdparty/masm/disassembler/UDis86Disassembler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/masm/disassembler/UDis86Disassembler.cpp b/src/3rdparty/masm/disassembler/UDis86Disassembler.cpp
index b01a234ea6..395d43008f 100644
--- a/src/3rdparty/masm/disassembler/UDis86Disassembler.cpp
+++ b/src/3rdparty/masm/disassembler/UDis86Disassembler.cpp
@@ -41,7 +41,7 @@ template <> struct helper<4> {
};
template <> struct helper<8> {
static void hex(char *str, size_t len, uint64_t pc)
- { snprintf(str, len, "0x%llx", pc); }
+ { snprintf(str, len, "0x%lx", pc); }
};
inline void print(char *str, size_t len, uint64_t pc)
{ helper<sizeof(void*)>::hex(str, len, pc); }