summaryrefslogtreecommitdiff
path: root/src/echar/char.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-26 17:51:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-26 17:51:52 +0300
commitc9673032ff9fb5b5c1a223432181d60184685d5a (patch)
treeca0137610ba9d08093fce187996921067a9725d4 /src/echar/char.c
parent2114f859d5b1d6984809494870f5266f53d662c7 (diff)
downloadevol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.gz
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.bz2
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.tar.xz
evol-hercules-c9673032ff9fb5b5c1a223432181d60184685d5a.zip
Remove useless casts after server update.
Diffstat (limited to 'src/echar/char.c')
-rw-r--r--src/echar/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/echar/char.c b/src/echar/char.c
index f8a003e..ecf02ca 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -59,7 +59,7 @@ void echar_parse_char_create_new_char(int *fdPtr, struct char_session_data* sd)
}
}
- const int result = chr->make_new_char_sql(sd, (char*)RFIFOP(fd, 2), 1, 1, 1, 1, 1, 1, RFIFOB(fd, 26), RFIFOW(fd, 27), RFIFOW(fd, 29));
+ const int result = chr->make_new_char_sql(sd, RFIFOP(fd, 2), 1, 1, 1, 1, 1, 1, RFIFOB(fd, 26), RFIFOW(fd, 27), RFIFOW(fd, 29));
if (result < 0)
{
chr->creation_failed(fd, result);