diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-04-01 02:36:09 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-04-01 02:36:09 +0200 |
commit | 8c43e46668a906d18270488862accaa627a1e53d (patch) | |
tree | 8e3d95410044787950a5f1e17f0afb5ec74d766e /tuer-rfid/update-keys.c | |
parent | added gitingore (diff) |
fixed compile warning at update-keys
Diffstat (limited to 'tuer-rfid/update-keys.c')
-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; } } |