From 9ffd9cd568c5d908fbbec46256fe235021fd87a4 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 8 Jan 2016 11:17:40 +0100 Subject: Removed unnecessary explicit casts of the value of WBUFP - WBUFP now returns a pointer to void, which automatically casts to any non-const or const pointer. Signed-off-by: Haru --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char/char.c') diff --git a/src/char/char.c b/src/char/char.c index 7dad470ec..63abeddab 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -2031,7 +2031,7 @@ int char_mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p) { offset += 2; #endif #if (PACKETVER >= 20100720 && PACKETVER <= 20100727) || PACKETVER >= 20100803 - mapindex->getmapname_ext(mapindex_id2name(p->last_point.map), (char*)WBUFP(buf,108)); + mapindex->getmapname_ext(mapindex_id2name(p->last_point.map), WBUFP(buf,108)); offset += MAP_NAME_LENGTH_EXT; #endif #if PACKETVER >= 20100803 -- cgit v1.2.3-60-g2f50