summaryrefslogtreecommitdiff
path: root/flattree.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2018-06-05 09:55:15 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2018-06-07 11:49:17 +1000
commit180a93924014dcf57fb46b538b8ec6b017831c6a (patch)
tree88f5209256d9055fb217c91501abb806ecec36b1 /flattree.c
parentb9af3b39657681e2d76b7a22f6736e8c3d64e392 (diff)
downloaddevice-tree-compiler-180a93924014dcf57fb46b538b8ec6b017831c6a.tar.gz
Use <inttypes.h> format specifiers in a bunch of places we should
Rather than assuming that uint32_t is the same thing as unsigned. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'flattree.c')
-rw-r--r--flattree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flattree.c b/flattree.c
index 28da281..851ea87 100644
--- a/flattree.c
+++ b/flattree.c
@@ -393,7 +393,7 @@ void dt_to_blob(FILE *f, struct dt_info *dti, int version)
padlen = 0;
if (quiet < 1)
fprintf(stderr,
- "Warning: blob size %u >= minimum size %d\n",
+ "Warning: blob size %"PRIu32" >= minimum size %d\n",
fdt32_to_cpu(fdt.totalsize), minsize);
}
}