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

Christian Mehlis notifications at github.com
Tue Aug 27 13:30:04 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)))) {

this is the fix for a broken style...what do you mean?

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


More information about the notifications mailing list