[cvs] bogofilter/src bogoutil.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-03-05 23:35:11
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1:/tmp/cvs-serv20377/src Modified Files: bogoutil.c Log Message: Compiling 64bit SPARCV9 revealed a type mismatch (size_t vs. uint32_t), this is the fix. Index: bogoutil.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/bogoutil.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- bogoutil.c 4 Mar 2003 13:24:56 -0000 1.15 +++ bogoutil.c 5 Mar 2003 23:35:03 -0000 1.16 @@ -448,8 +448,8 @@ static double compute_robx(void *dbh_spam, void *dbh_good) { - size_t good_cnt = 0; - size_t spam_cnt = 0; + uint32_t good_cnt = 0; + uint32_t spam_cnt = 0; double sum = 0.0; double robx; |