[cvs] bogofilter config.c,1.98,1.99 token.c,1.15,1.16
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2003-01-29 02:53:49
|
Update of /cvsroot/bogofilter/bogofilter In directory sc8-pr-cvs1:/tmp/cvs-serv916 Modified Files: config.c token.c Log Message: Fix compiler warning. Index: config.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/config.c,v retrieving revision 1.98 retrieving revision 1.99 diff -u -d -r1.98 -r1.99 --- config.c 28 Jan 2003 16:44:49 -0000 1.98 +++ config.c 29 Jan 2003 02:53:46 -0000 1.99 @@ -197,7 +197,7 @@ { case CP_BOOLEAN: { - *arg->addr.b = str_to_bool(val); + *arg->addr.b = str_to_bool((const char *)val); if (DEBUG_CONFIG(0)) fprintf(dbgout, "%s -> %s\n", arg->name, *arg->addr.b ? "Yes" : "No"); Index: token.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/token.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- token.c 28 Jan 2003 01:01:07 -0000 1.15 +++ token.c 29 Jan 2003 02:53:46 -0000 1.16 @@ -140,7 +140,7 @@ continue; case BOUNDARY: /* don't return boundary tokens to the user */ - if ( mime_is_boundary(yytext, yyleng)){ + if (mime_is_boundary((const byte *)yytext, yyleng)){ change_lexer_state(LEXER_HEAD); continue; } |