Skip to content

Commit bbb7098

Browse files
committed
library: Fix printf type casting in error reporting
1 parent 269d4f8 commit bbb7098

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

hal/library.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ int wolfBoot_start(void)
142142
exit:
143143
if (ret < 0) {
144144
wolfBoot_printf("Failure %d: Hdr %d, Hash %d, Sig %d\n", ret,
145-
os_image.hdr_ok, os_image.sha_ok, os_image.signature_ok);
145+
(int)os_image.hdr_ok, (int)os_image.sha_ok,
146+
(int)os_image.signature_ok);
146147
}
147148

148149
return 0;

0 commit comments

Comments
 (0)