[riot-notifications] [RIOT] clean up: fix some scan-build warnings (#3699)

Oleg Hahm notifications at github.com
Tue Sep 22 11:04:24 CEST 2015


> @@ -35,7 +35,7 @@ bloom_t *bloom_new(size_t size, size_t num_hashes, ...)
>      }
>  
>      /* Allocate Bloom array */
> -    if (!(bloom->a = calloc(ROUND(size), sizeof(char)))) {
> +    if (!(bloom->a = calloc(sizeof(uint8_t), ROUND(size)))) {

I adopted this in #3926.

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


More information about the notifications mailing list