diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-05-24 13:36:30 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-05-25 08:01:37 +0200 |
commit | 9981cad80173510a2070ab884cf63c9cca51e69b (patch) | |
tree | 85daa0328b5a638450727bb00ed512fb368c14bc /util/romcc | |
parent | 0e740d3952c978babe7f6b7b8110113170b02c08 (diff) | |
download | coreboot-9981cad80173510a2070ab884cf63c9cca51e69b.tar.xz |
nvramtool: use C99 PRIx64 / PRId64 for uint64_t variables
In printf/printk, using %lld or %ld for uint64_t will warn on either
64bit or 32bit machines. However, C99 defines PRIx64 / PRId64 to
provide the right modifiers for printing uint64_t variables. Use them
instead.
Change-Id: I68df5d069a1e99d1a75885173ddfd7815197afea
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1053
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util/romcc')
0 files changed, 0 insertions, 0 deletions