aboutsummaryrefslogtreecommitdiffstats
path: root/android/utils/timezone.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-10-20 19:07:28 +0200
committerDavid 'Digit' Turner <digit@android.com>2010-10-21 17:03:05 +0200
commitd9b6cb97a8a9e93f1bbe5351874b03f7faa81783 (patch)
treeed29b83a936789ffcc40d1170f6ff5c0653831c6 /android/utils/timezone.c
parent7d98eae200f294f51ada36d9b01591fc4726dd94 (diff)
downloadexternal_qemu-d9b6cb97a8a9e93f1bbe5351874b03f7faa81783.zip
external_qemu-d9b6cb97a8a9e93f1bbe5351874b03f7faa81783.tar.gz
external_qemu-d9b6cb97a8a9e93f1bbe5351874b03f7faa81783.tar.bz2
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
Diffstat (limited to 'android/utils/timezone.c')
-rw-r--r--android/utils/timezone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/utils/timezone.c b/android/utils/timezone.c
index 2707e2e..1b99917 100644
--- a/android/utils/timezone.c
+++ b/android/utils/timezone.c
@@ -185,7 +185,7 @@ compare_timezone_to_localtime( ScanDataRec* scan,
}
if ( st.st_size != scan->localtime_st.st_size ) {
- D( " size mistmatch (%lld != %lld)\n", st.st_size, scan->localtime_st.st_size );
+ D( " size mistmatch (%zd != %zd)\n", (size_t)st.st_size, (size_t)scan->localtime_st.st_size );
return 0;
}