commit | c394109964a18d05d46de46728f617465f3493c4 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sun Aug 26 09:53:13 2018 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sun Aug 26 10:20:05 2018 +0200 |
tree | b82d4ac5c4dee14ef3101fdf94ef2d5eba8ce549 | |
parent | 888f1965950824086f0f4bdd1b28a7601e09db0c [diff] [blame] |
firmware: Enable -Wformat and resolve all related compiler warnings There have been tons of format-string related bugs in our code which we never discovered due to disabling -Wformat. Let's fix that. Change-Id: I5ec466361bcc526fac1f4897673264ee5af3458b
diff --git a/firmware/libcommon/source/card_emu.c b/firmware/libcommon/source/card_emu.c index af90351..75910c1 100644 --- a/firmware/libcommon/source/card_emu.c +++ b/firmware/libcommon/source/card_emu.c
@@ -112,7 +112,7 @@ #define _P3 4 struct card_handle { - uint32_t num; + unsigned int num; enum iso7816_3_card_state state;