mifare: use proper format for integers (-Wformat)
Properly print signed and unsigned integers. This fixes warnings like:
plugins/mifare.c: In function ‘mifare_read’:
plugins/mifare.c:836:33: error: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘unsigned int’ [-Werror=format=]
836 | near_error("Mifare tag type [%d] not supported.", tgt_subtype);
| ~^ ~~~~~~~~~~~
| | |
| int unsigned int
| %d
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
1 file changed