From: Jilles Tjoelker Date: Sun, 20 Apr 2008 12:47:34 +0000 (+0200) Subject: Remove silly cast that caused a compiler warning. X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/9eea5de11d8c87322e9ab2fa96510f6a1e2d5e3b Remove silly cast that caused a compiler warning. --- 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);