From 9eea5de11d8c87322e9ab2fa96510f6a1e2d5e3b Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 20 Apr 2008 14:47:34 +0200 Subject: [PATCH] Remove silly cast that caused a compiler warning. --- src/s_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s_conf.c b/src/s_conf.c index d1719b87..8ce36d4a 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -1538,7 +1538,7 @@ yyerror(const char *msg) { char newlinebuf[BUFSIZE]; - strip_tabs(newlinebuf, (const unsigned char *) linebuf, strlen(linebuf)); + strip_tabs(newlinebuf, linebuf, strlen(linebuf)); sendto_realops_snomask(SNO_GENERAL, L_ALL, "\"%s\", line %d: %s at '%s'", conffilebuf, lineno + 1, msg, newlinebuf);