From ccecf1425412beb2bc3bb38d470293fdc244d6f1 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 16 Jan 2014 10:53:11 -0800 Subject: system/core 64-bit cleanup. This cleans up most of the size-related problems in system/core. There are still a few changes needed for a clean 64-bit build, but they look like they might require changes to things like the fastboot protocol. Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0 --- toolbox/nandread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolbox/nandread.c') diff --git a/toolbox/nandread.c b/toolbox/nandread.c index 4666f2656..d43b2febe 100644 --- a/toolbox/nandread.c +++ b/toolbox/nandread.c @@ -158,7 +158,7 @@ int nandread_main(int argc, char **argv) printf("oobavail: %u\n", ecclayout.oobavail); } if (ecclayout.oobavail > spare_size) - printf("oobavail, %d > image spare size, %d\n", ecclayout.oobavail, spare_size); + printf("oobavail, %d > image spare size, %zu\n", ecclayout.oobavail, spare_size); ret = ioctl(fd, ECCGETSTATS, &initial_ecc); if (ret) { -- cgit v1.2.3