summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-08 11:17:40 +0100
committerHaru <haru@dotalux.com>2016-02-24 21:00:31 +0100
commit9ffd9cd568c5d908fbbec46256fe235021fd87a4 (patch)
tree284f2f47cbf2b5ef3d16dfb5cd8746f4b2a59dfd /src/char
parent312f1b940e587a10b55fd544eaf4cc2197b1acd5 (diff)
downloadhercules-9ffd9cd568c5d908fbbec46256fe235021fd87a4.tar.gz
hercules-9ffd9cd568c5d908fbbec46256fe235021fd87a4.tar.bz2
hercules-9ffd9cd568c5d908fbbec46256fe235021fd87a4.tar.xz
hercules-9ffd9cd568c5d908fbbec46256fe235021fd87a4.zip
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 <haru@dotalux.com>
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
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