summaryrefslogtreecommitdiff
path: root/src/char/pincode.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-08 14:41:38 +0100
committerHaru <haru@dotalux.com>2016-02-24 21:00:32 +0100
commit9ee166316cded9aad0ace7e13f43a406f0e5400c (patch)
tree7b73c9def37bf9e04d737b8d7549875482b60023 /src/char/pincode.c
parent4b873e6e6520e827aae689bf15dd6adac97473f7 (diff)
downloadhercules-9ee166316cded9aad0ace7e13f43a406f0e5400c.tar.gz
hercules-9ee166316cded9aad0ace7e13f43a406f0e5400c.tar.bz2
hercules-9ee166316cded9aad0ace7e13f43a406f0e5400c.tar.xz
hercules-9ee166316cded9aad0ace7e13f43a406f0e5400c.zip
Removed several unnecessary explicit casts of the WFIFOP result
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/pincode.c')
-rw-r--r--src/char/pincode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/pincode.c b/src/char/pincode.c
index 83509576a..6930a7a57 100644
--- a/src/char/pincode.c
+++ b/src/char/pincode.c
@@ -144,7 +144,7 @@ void pincode_notifyLoginPinUpdate(int account_id, char* pin) {
WFIFOHEAD(chr->login_fd,11);
WFIFOW(chr->login_fd,0) = 0x2738;
WFIFOL(chr->login_fd,2) = account_id;
- safestrncpy( (char*)WFIFOP(chr->login_fd,6), pin, 5 );
+ safestrncpy(WFIFOP(chr->login_fd,6), pin, 5);
WFIFOSET(chr->login_fd,11);
}