summaryrefslogtreecommitdiff
path: root/common/bootstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/bootstage.c')
-rw-r--r--common/bootstage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bootstage.c b/common/bootstage.c
index c5c6996..f5027ef 100644
--- a/common/bootstage.c
+++ b/common/bootstage.c
@@ -445,9 +445,9 @@ int bootstage_unstash(void *base, int size)
}
if (hdr->count * sizeof(*rec) > hdr->size) {
- debug("%s: Bootstage has %d records needing %d bytes, but "
+ debug("%s: Bootstage has %d records needing %lu bytes, but "
"only %d bytes is available\n", __func__, hdr->count,
- hdr->count * sizeof(*rec), hdr->size);
+ (ulong)hdr->count * sizeof(*rec), hdr->size);
return -1;
}