summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wai-Hong Tam <waihong@chromium.org>2010-12-09 14:00:01 +0800
committerTom Wai-Hong Tam <waihong@chromium.org>2010-12-09 14:00:01 +0800
commitb7cfd6f59d2aa13f090bbd581756c8a3e4a28e5a (patch)
tree44d3cb85d963bfb340ac4802a61bdbfbfca3835f
parent37589d44521ba278a74bf9cd705fe0431092f330 (diff)
downloadvboot-b7cfd6f59d2aa13f090bbd581756c8a3e4a28e5a.tar.gz
Fix PRIu64 definition to llu.
Previous CL http://codereview.chromium.org/5634003 has a typo. PRIu64 should be "llu" instead of "ll". BUG=None TEST=Build successfully and run with u-boot and verify that outputs with PRI Change-Id: I960c422ed0446463d5fed5ac4a12f7728ddbb53b Review URL: http://codereview.chromium.org/5687001
-rw-r--r--firmware/arch/arm/include/biosincludes.h2
-rw-r--r--firmware/stub/include/biosincludes.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/arch/arm/include/biosincludes.h b/firmware/arch/arm/include/biosincludes.h
index e2a1d65b..b7feacb1 100644
--- a/firmware/arch/arm/include/biosincludes.h
+++ b/firmware/arch/arm/include/biosincludes.h
@@ -20,7 +20,7 @@ typedef unsigned int size_t;
#endif
#define UINT64_C(x) ((uint64_t) x)
-#define PRIu64 "ll"
+#define PRIu64 "llu"
extern void debug(const char *format, ...);
#define POSSIBLY_UNUSED __attribute__((unused))
diff --git a/firmware/stub/include/biosincludes.h b/firmware/stub/include/biosincludes.h
index 718361af..bd7e6fd4 100644
--- a/firmware/stub/include/biosincludes.h
+++ b/firmware/stub/include/biosincludes.h
@@ -26,7 +26,7 @@ typedef unsigned size_t;
#define UINT64_C(x) ((uint64_t)x)
#define __attribute__(x)
-#define PRIu64 "ll"
+#define PRIu64 "llu"
extern void debug(const char *format, ...);
#define POSSIBLY_UNUSED