mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
scripts/dtc: Fixed format mismatch in fprintf
format specifier "d" need arg type "int" , but the according arg "fdt32_to_cpu(xxx)" has type "unsigned int" Signed-off-by: nixiaoming <nixiaoming@huawei.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
4b8fcc3d01
commit
b9af3b3965
2 changed files with 4 additions and 4 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 %d >= minimum size %d\n",
|
||||
"Warning: blob size %u >= minimum size %d\n",
|
||||
fdt32_to_cpu(fdt.totalsize), minsize);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue