fixed Printf arg type mismatch

This commit is contained in:
Frank Morgner 2015-01-24 20:00:03 +01:00
parent fca3a37097
commit 9a4b58800b
1 changed files with 3 additions and 3 deletions

View File

@ -593,7 +593,7 @@ static int cardos_format(const char *opt_startkey)
if (check_apdu(&apdu))
return 1;
if (apdu.resplen < 0x04) {
printf("expected 4-6 bytes form GET DATA for startkey data, but got only %u\n", apdu.resplen);
printf("expected 4-6 bytes form GET DATA for startkey data, but got only %zu\n", apdu.resplen);
printf("aborting\n");
return 1;
}
@ -914,7 +914,7 @@ static int cardos_change_startkey(const char *change_startkey_apdu)
if (check_apdu(&apdu))
return 1;
if (apdu.resplen < 0x04) {
printf("expected 4-6 bytes form GET DATA for startkey data, but got only %u\n", apdu.resplen);
printf("expected 4-6 bytes form GET DATA for startkey data, but got only %zu\n", apdu.resplen);
printf("aborting\n");
return 1;
}
@ -999,7 +999,7 @@ change_startkey:
if (check_apdu(&apdu))
return 1;
if (apdu.resplen < 0x04) {
printf("expected 4-6 bytes form GET DATA for startkey data, but got only %u\n", apdu.resplen);
printf("expected 4-6 bytes form GET DATA for startkey data, but got only %zu\n", apdu.resplen);
printf("aborting\n");
return 1;
}