[email protected] (Niels Möller) writes:

> I get a couple of warnings, when compiling for 32-bit platforms, e.g.,
> ARM.
>
> /home/nisse/hack/nettle/ccm.c: In function `nettle_ccm_set_nonce':
> /home/nisse/hack/nettle/ccm.c:134:3: warning: comparison is always
> false due to limited range of data type [-Wtype-limits]
> /home/nisse/hack/nettle/ccm.c:138:5: warning: right shift count >=
> width of type [enabled by default]
> /home/nisse/hack/nettle/ccm.c:139:5: warning: right shift count >=
> width of type [enabled by default]
> /home/nisse/hack/nettle/ccm.c:140:5: warning: right shift count >=
> width of type [enabled by default]
> /home/nisse/hack/nettle/ccm.c:141:5: warning: right shift count >=
> width of type [enabled by default]

Fixed now. Added a configure test for sizeof(size_t).

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to