]> jfr.im git - solanum.git/commitdiff
Remove silly cast that caused a compiler warning.
authorJilles Tjoelker <redacted>
Sun, 20 Apr 2008 12:47:34 +0000 (14:47 +0200)
committerJilles Tjoelker <redacted>
Sun, 20 Apr 2008 12:47:34 +0000 (14:47 +0200)
src/s_conf.c

index d1719b8759d83c8b4ad3744c247e1f57e6cf6503..8ce36d4af78ab27db38835f38c6a02aa040dc769 100644 (file)
@@ -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);