[riot-notifications] [RIOT] Bloom bytes (#176)

Oleg Hahm notifications at github.com
Tue Aug 27 13:36:12 CEST 2013


> @@ -41,7 +42,7 @@ struct bloom_t *bloom_new(size_t size, size_t num_hashes, ...) {
>      }
>  
>      /* Allocate Bloom filter hash function pointers */
> -    if (!(bloom->hash = (hashfp_t *)malloc(num_hashes *sizeof(hashfp_t)))) {
> +    if (!(bloom->hash = (hashfp_t *)malloc(num_hashes * sizeof(hashfp_t)))) {

Never mind, my mistake.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/176/files#r6002592
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130827/7c58bb1a/attachment.html>


More information about the notifications mailing list