diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-06 20:00:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-13 01:59:02 +0300 |
commit | 3b8ebb26d93c4ebaec6f66014b43b288036f7357 (patch) | |
tree | 629d3017b57d1c508a9a9f985976f682b63eab62 /src/map/clif.c | |
parent | be224b8876a7f010dc7e0d7530deefd84db6ee31 (diff) | |
download | hercules-3b8ebb26d93c4ebaec6f66014b43b288036f7357.tar.gz hercules-3b8ebb26d93c4ebaec6f66014b43b288036f7357.tar.bz2 hercules-3b8ebb26d93c4ebaec6f66014b43b288036f7357.tar.xz hercules-3b8ebb26d93c4ebaec6f66014b43b288036f7357.zip |
Fix report about unhandled packets.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 5f3d5afd0..44cefcd7e 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -18901,9 +18901,9 @@ static void clif_parse_dull(int fd, struct map_session_data *sd) packet_len = RFIFOW(fd, 2); } if (sd) { - ShowWarning("Unhandled packet 0x%04d (length %d), %s session #%d, %d/%d (AID/CID)\n", cmd, packet_len, sd->state.active ? "authed" : "unauthed", fd, sd->status.account_id, sd->status.char_id); + ShowWarning("Unhandled packet 0x%04X (length %d), %s session #%d, %d/%d (AID/CID)\n", (uint32)cmd, packet_len, sd->state.active ? "authed" : "unauthed", fd, sd->status.account_id, sd->status.char_id); } else { - ShowWarning("Unhandled packet 0x%04d (length %d), session #%d\n", cmd, packet_len, fd); + ShowWarning("Unhandled packet 0x%04X (length %d), session #%d\n", (uint32)cmd, packet_len, fd); } return; } |