diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-28 03:56:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-28 03:56:12 +0300 |
commit | 447787839e492410611ebe16d01fd5e1ae52e045 (patch) | |
tree | 0df52644e225f65e2d23f358dc4db5906c1595be /src/emap/clif.c | |
parent | d37fe74804b94065259703509b4b3dc3f53c30a5 (diff) | |
download | plugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.gz plugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.bz2 plugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.xz plugin-447787839e492410611ebe16d01fd5e1ae52e045.zip |
Fix different warnings.
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r-- | src/emap/clif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c index e2a0337..87092c1 100644 --- a/src/emap/clif.c +++ b/src/emap/clif.c @@ -114,7 +114,7 @@ void eclif_charnameack(int *fdPtr, struct block_list *bl) return; } const char *tr = lang_pctrans(((TBL_NPC*)bl)->name, sd); - const int trLen = strlen(tr); + const int trLen = (int)strlen(tr); const int len = 8 + trLen; // if no recipient specified just update nearby clients if (fd == 0) @@ -177,7 +177,7 @@ void eclif_charnameack(int *fdPtr, struct block_list *bl) break; } const char *tr = lang_pctrans(ptr, sd); - const int trLen = strlen(tr); + const int trLen = (int)strlen(tr); const int len = 8 + trLen; // if no recipient specified just update nearby clients @@ -1314,7 +1314,7 @@ void eclif_disp_message(struct block_list* src, nullpo_retv(mes); - int len = strlen(mes); + int len = (int)strlen(mes); if (len == 0 || !isInit) return; |