[stunnel-users] 'Integer constant too large' warnings in str.c
Michal Trojnara
Michal.Trojnara at stunnel.org
Tue May 10 12:24:02 CEST 2016
On 09.05.2016 11:16, Guillermo Rodriguez Garcia wrote:
> Current stunnel (5.32) gives a bunch of warnings in str.c when the
> CANARY_XXX and MAGIC_XXX constants are used, for example:
>
> str.c:101: warning: integer constant is too large for 'long' type
>
> Shouldn't these constants be declared with the 'LL' suffix instead of 'L' ?
>
> #define CANARY_INITIALIZED 0x0000c0ded0000000LL
> #define CANARY_UNINTIALIZED 0x0000abadbabe0000LL
> #define MAGIC_ALLOCATED 0x0000a110c8ed0000LL
> #define MAGIC_DEALLOCATED 0x0000defec8ed0000LL
Indeed. Thank you.
Best regards,
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20160510/1e067b00/attachment.sig>
More information about the stunnel-users
mailing list