From 78a47af02017cb936d54eeabcba6636ec7bec4a3 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 d1719b8..8ce36d4 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);