diff options
author | Haru <haru@dotalux.com> | 2018-07-01 19:03:17 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-07-01 19:03:17 +0200 |
commit | 392238d4a9fe4ca3cc68098d9709c27c92409c8b (patch) | |
tree | deaf80060dfbafe912058c6129611075972ca087 | |
parent | a3f850401a03fae78f59e3ed08a77f1b56a1b72b (diff) | |
download | hercules-392238d4a9fe4ca3cc68098d9709c27c92409c8b.tar.gz hercules-392238d4a9fe4ca3cc68098d9709c27c92409c8b.tar.bz2 hercules-392238d4a9fe4ca3cc68098d9709c27c92409c8b.tar.xz hercules-392238d4a9fe4ca3cc68098d9709c27c92409c8b.zip |
Fix some incorrect format strings that I forgot to update in e32fe0d37
Signed-off-by: Haru <haru@dotalux.com>
-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 68b9ce7ed..bae079f3e 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8977,7 +8977,7 @@ void clif_disp_overhead(struct block_list *bl, const char *mes, enum send_target mes_len = (int)strlen(mes) + 1; //Account for \0 if (mes_len > max_len) { - ShowError("clif_disp_overhead: Truncated message '%s' (len=%d, max=%u).\n", mes, mes_len, max_len); + ShowError("clif_disp_overhead: Truncated message '%s' (len=%d, max=%d).\n", mes, mes_len, max_len); mes_len = max_len; //Trunk it to avoid problems. } @@ -9009,7 +9009,7 @@ void clif_notify_playerchat(struct block_list *bl, const char *mes) mes_len = (int)strlen(mes) + 1; // Account for \0 if (mes_len > max_len) { - ShowError("clif_notify_playerchat: Truncated message '%s' (len=%d, max=%u).\n", mes, mes_len, max_len); + ShowError("clif_notify_playerchat: Truncated message '%s' (len=%d, max=%d).\n", mes, mes_len, max_len); mes_len = max_len; // Truncate to avoid problems. } |