From: Christian Grothoff Date: Mon, 23 Apr 2012 16:15:09 +0000 (+0000) Subject: -not -1 when using % instead of & X-Git-Tag: initial-import-from-subversion-38251~13819 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=80863bfc53c6ae353bf8c35a3d5f51d8e47bd2bb;p=oweals%2Fgnunet.git -not -1 when using % instead of & --- diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index c2f376b40..8c226f67d 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c @@ -359,7 +359,7 @@ iterateBits (const struct GNUNET_CONTAINER_BloomFilter *bf, if (GNUNET_YES != callback (arg, bf, (((uint32_t *) & tmp[round & 1])[slot]) % - ((bf->bitArraySize * 8LL) - 1))) + ((bf->bitArraySize * 8LL)))) return; slot++; bitCount--;