mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
printf: Use inttype.h macros for format strings
DJGPP for compiling DOS has other sizes for the normal int types and therefore throwing errors when using %i %d or %x with uint32_t. Fix these warnings by using the macros created for it and provided in inttypes.h. Change-Id: Ia75b6df981ce60c891161fe553c7ceab8570178d Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/73040 Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
ba6acffc69
commit
90286fe643
@ -672,7 +672,7 @@ int it8705f_write_enable(uint8_t port)
|
||||
*/
|
||||
ret = 1;
|
||||
}
|
||||
msg_pdbg("Maximum IT8705F parallel flash decode size is %u.\n",
|
||||
msg_pdbg("Maximum IT8705F parallel flash decode size is %"PRIu32".\n",
|
||||
max_rom_decode.parallel);
|
||||
if (ret) {
|
||||
msg_pinfo("Not enabling IT8705F flash write.\n");
|
||||
|
Reference in New Issue
Block a user