diff options
Diffstat (limited to 'tuer-rfid')
-rw-r--r-- | tuer-rfid/update-keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tuer-rfid/update-keys.c b/tuer-rfid/update-keys.c index 90236a5..f1264cc 100644 --- a/tuer-rfid/update-keys.c +++ b/tuer-rfid/update-keys.c @@ -116,7 +116,7 @@ int main(int argc, char* argv[]) key_num++; if(key_num > EEPROM_SIZE/sizeof(keyslot_t)) { - fprintf(stderr, "reached maximum number of key slots (%d), will ignore remaining keys\n", EEPROM_SIZE/sizeof(keyslot_t)); + fprintf(stderr, "reached maximum number of key slots (%d), will ignore remaining keys\n", (int)(EEPROM_SIZE/sizeof(keyslot_t))); break; } } |