Remove silly cast that caused a compiler warning.

This commit is contained in:
Jilles Tjoelker 2008-04-20 14:47:34 +02:00
parent 3da818ecea
commit 78a47af020
1 changed files with 1 additions and 1 deletions

View 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);