summaryrefslogtreecommitdiff
path: root/src/char/inter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/inter.cpp')
-rw-r--r--src/char/inter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/inter.cpp b/src/char/inter.cpp
index 59a2945..04523f7 100644
--- a/src/char/inter.cpp
+++ b/src/char/inter.cpp
@@ -404,7 +404,7 @@ int mapif_parse_WisRequest(int fd)
// to be sure of the correct name, rewrite it
strzcpy(static_cast<char *>(const_cast<void *>(RFIFOP(fd, 28))), mcs->name, 24);
// if source is destination, don't ask other servers.
- if (strcmp((const char *)RFIFOP(fd, 4), (const char *)RFIFOP(fd, 28)) == 0)
+ if (strcmp(static_cast<const char *>(RFIFOP(fd, 4)), static_cast<const char *>(RFIFOP(fd, 28))) == 0)
{
unsigned char buf[27];
WBUFW(buf, 0) = 0x3802;