Skip Menu |

This queue is for tickets about the CPAN distribution.

Report information
The Basics
Id: 47521
Status: resolved
Worked: 20 min
Priority: 0/

Owner: MIKEM [...]
Requestors: ryan [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Net-SSLeay ptr_cast_test.c
Date: Thu, 2 Jul 2009 17:15:47 -0400
To: [...]
From: Ryan McGuigan <ryan [...]>
Download (untitled) / with headers
text/plain 769b
Here is a diff against Net-SSLeay 1.35 to fix warnings when compiling ptr_cast_test.c under some gcc compiler versions, which causes the 00_ptr_cast.t test to fail incorrectly. diff -ru Net-SSLeay-1.35-old/t/local/ptr_cast_test.c Net-SSLeay-1.35/t/local/ptr_cast_test.c --- Net-SSLeay-1.35-old/t/local/ptr_cast_test.c 2007-10-16 08:26:45.000000000 +0000 +++ Net-SSLeay-1.35/t/local/ptr_cast_test.c 2009-07-02 20:55:02.000000000 +0000 @@ -24,7 +24,7 @@ volatile TOTYPE i; /* prevent optimization */ printf("# %s: '%s' len: %d, '%s' len: %d.\n", argv[0], FROMTYPESTR, - sizeof(TOTYPE), TOTYPESTR, sizeof(char *)); + (int)sizeof(TOTYPE), TOTYPESTR, (int)sizeof(char *)); i = (TOTYPE)bufptr; if( ((FROMTYPE)i) != bufptr ) { Regards, -Ryan
Download (untitled) / with headers
text/plain 118b
Thanks for your report. Your patch has been applied to the SVN version and will appear in the next release. Cheers.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to