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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

Reply via email to