aboutsummaryrefslogtreecommitdiffstats
path: root/ia64-dis.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-05-22 08:02:12 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-05-22 08:02:12 +0000
commit0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2 (patch)
tree3a2d53ae75005891bf4dd662465cc1cffab36f0b /ia64-dis.c
parent4556bd8b2514a55d48c15b1adb17537f49657744 (diff)
Fix %lld or %llx printf format use
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'ia64-dis.c')
-rw-r--r--ia64-dis.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/ia64-dis.c b/ia64-dis.c
index da73a98ba..2886df361 100644
--- a/ia64-dis.c
+++ b/ia64-dis.c
@@ -10560,11 +10560,14 @@ print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info)
if (str)
(*info->fprintf_func) (info->stream, "%s", str);
else if (odesc->flags & IA64_OPND_FLAG_DECIMAL_SIGNED)
- (*info->fprintf_func) (info->stream, "%lld", (long long) value);
+ (*info->fprintf_func) (info->stream, "%" PRId64,
+ (int64_t) value);
else if (odesc->flags & IA64_OPND_FLAG_DECIMAL_UNSIGNED)
- (*info->fprintf_func) (info->stream, "%llu", (long long) value);
+ (*info->fprintf_func) (info->stream, "%" PRIu64,
+ (uint64_t) value);
else
- (*info->fprintf_func) (info->stream, "0x%llx", (long long) value);
+ (*info->fprintf_func) (info->stream, "0x%" PRIx64,
+ (uint64_t) value);
break;
case IA64_OPND_CLASS_REL: