summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 03:56:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 03:56:12 +0300
commit447787839e492410611ebe16d01fd5e1ae52e045 (patch)
tree0df52644e225f65e2d23f358dc4db5906c1595be /src/emap/clif.c
parentd37fe74804b94065259703509b4b3dc3f53c30a5 (diff)
downloadevol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.gz
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.bz2
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.xz
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.zip
Fix different warnings.
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r--src/emap/clif.c6
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;