[stunnel-users] [PATCH] Fix int/size_t mismatch, second attempt

Miloslav Trmac mitr at redhat.com
Fri Sep 30 17:19:28 CEST 2005


Michal Trojnara wrote:
> Here is the ChangeLog entry:
>   - size_t printf() fixed in stack_info().
Not really, the fix lost parentheses somewhere on the way.  The new code
reads
	(int)(VERIFY_AREA-num)*sizeof(u32),
etc., which is
	((int)(VERIFY_AREA-num))*sizeof(u32),
"int * size_t" = size_t on 64-bit platforms.

The attached patch readds the parentheses.

Thanks,
	Mirek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stunnel-4.12-printf.patch
Type: text/x-patch
Size: 781 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20050930/0f65a021/attachment.bin>


More information about the stunnel-users mailing list