diff options
-rw-r--r-- | lib/display_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/display_options.c b/lib/display_options.c index 24d8f55..57fb974 100644 --- a/lib/display_options.c +++ b/lib/display_options.c @@ -152,7 +152,7 @@ int print_buffer(ulong addr, const void *data, uint width, uint count, else x = lb.uc[i] = *(volatile uint8_t *)data; #ifdef CONFIG_SYS_SUPPORT_64BIT_DATA - printf(" %0*" PRIx64, width * 2, x); + printf(" %0*llx", width * 2, (long long)x); #else printf(" %0*x", width * 2, x); #endif |