diff options
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/char.cpp | 2 | ||||
-rw-r--r-- | src/char/int_storage.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp index 9749c23..5c501b4 100644 --- a/src/char/char.cpp +++ b/src/char/char.cpp @@ -2260,7 +2260,7 @@ void parse_frommap(int fd) return; } // inter server処理でもない場合は切断 - PRINTF("char: unknown packet 0x%04x (%d bytes to read in buffer)! (from map).\n", + PRINTF("char: unknown packet 0x%04x (%zu bytes to read in buffer)! (from map).\n", RFIFOW(fd, 0), RFIFOREST(fd)); session[fd]->eof = 1; return; diff --git a/src/char/int_storage.cpp b/src/char/int_storage.cpp index b7feae1..ba55538 100644 --- a/src/char/int_storage.cpp +++ b/src/char/int_storage.cpp @@ -205,7 +205,7 @@ int mapif_parse_SaveStorage(int fd) int len = RFIFOW(fd, 2); if (sizeof(struct storage) != len - 8) { - PRINTF("inter storage: data size error %d %d\n", + PRINTF("inter storage: data size error %zu %d\n", sizeof(struct storage), len - 8); } else |