summaryrefslogtreecommitdiff
path: root/src/elogin/send.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/elogin/send.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/elogin/send.c')
-rw-r--r--src/elogin/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elogin/send.c b/src/elogin/send.c
index a8bc99b..01c2906 100644
--- a/src/elogin/send.c
+++ b/src/elogin/send.c
@@ -34,7 +34,7 @@ void send_update_host(int fd)
{
if (!update_server)
return;
- const int sz = strlen(update_server);
+ const int sz = (int)strlen(update_server);
WFIFOHEAD(fd, sz + 4);
WFIFOW(fd, 0) = 0x63;
WFIFOW(fd, 2) = sz + 4;