diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-26 17:51:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-26 17:51:52 +0300 |
commit | c9673032ff9fb5b5c1a223432181d60184685d5a (patch) | |
tree | ca0137610ba9d08093fce187996921067a9725d4 /src/echar/char.c | |
parent | 2114f859d5b1d6984809494870f5266f53d662c7 (diff) | |
download | evol-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.c | 2 |
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); |