return 0 on misses, not -1.

This commit is contained in:
Fredrik Lundh 2006-05-23 19:47:35 +00:00
parent f178e5c1b7
commit 7763351808
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ LOCAL(int) unicode_member(Py_UNICODE chr, Py_UNICODE* set, Py_ssize_t setlen)
if (set[i] == chr)
return 1;
return -1;
return 0;
}
#define BLOOM_MEMBER(mask, chr, set, setlen)\