From 9ee166316cded9aad0ace7e13f43a406f0e5400c Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 8 Jan 2016 14:41:38 +0100 Subject: Removed several unnecessary explicit casts of the WFIFOP result Signed-off-by: Haru --- src/map/irc-bot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/irc-bot.c') diff --git a/src/map/irc-bot.c b/src/map/irc-bot.c index c38d3064c..b520e9e91 100644 --- a/src/map/irc-bot.c +++ b/src/map/irc-bot.c @@ -245,7 +245,7 @@ void irc_send(char *str) { if (len > IRC_MESSAGE_LENGTH-3) len = IRC_MESSAGE_LENGTH-3; WFIFOHEAD(ircbot->fd, len); - snprintf((char*)WFIFOP(ircbot->fd,0),IRC_MESSAGE_LENGTH, "%s\r\n", str); + snprintf(WFIFOP(ircbot->fd,0),IRC_MESSAGE_LENGTH, "%s\r\n", str); WFIFOSET(ircbot->fd, len); } -- cgit v1.2.3-60-g2f50