From d9b6cb97a8a9e93f1bbe5351874b03f7faa81783 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 20 Oct 2010 19:07:28 +0200 Subject: Fix linux-x86_64 build. Fix various 64-bitness issues in the source code to make the --try-64 option work again on Linux. Note that the generated binary is not faster than its 32-bit variant when it comes to benchmarking the boot sequence. Change-Id: Iad248e033757d4cd25524a438a5dbe1cf3aca6cf --- elff/dwarf_die.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elff') diff --git a/elff/dwarf_die.cc b/elff/dwarf_die.cc index 0f58cbe..9939952 100644 --- a/elff/dwarf_die.cc +++ b/elff/dwarf_die.cc @@ -213,7 +213,7 @@ void DIEObject::dump(bool only_this) const { while (elf_file()->get_range(off, &low, &high) && (low != 0 || high != 0)) { printf(" %08" FMT_I64 "X - %08" FMT_I64 "X\n", - low, high); + (unsigned long long)low, (unsigned long long)high); off += 16; } } else { -- cgit v1.1