diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-06-05 09:55:15 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-06-07 11:49:17 +1000 |
commit | 180a93924014dcf57fb46b538b8ec6b017831c6a (patch) | |
tree | 88f5209256d9055fb217c91501abb806ecec36b1 /flattree.c | |
parent | b9af3b39657681e2d76b7a22f6736e8c3d64e392 (diff) | |
download | device-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |