[wx-dev] Re: CVS: [AVV] wxWidgets/src/common gaddr.cpp,1.1.2.2,1.1.2.3

Angel Vidal (Kry) kry at amule.org
Mon Aug 7 18:02:50 PDT 2006


On Tue, 2006-08-08 at 01:57 +0200, Vadim Zeitlin wrote:
> On 7 Aug 2006 23:50:15 -0000 anonymous at sunsite.dk wrote:
> 
> > Update of /pack/cvsroots/wxwidgets/wxWidgets/src/common
> > In directory sunsite.dk:/tmp/cvs-serv13716/src/common
> > 
> > Modified Files:
> >       Tag: SOC2006_SOCKETS
> > 	gaddr.cpp 
> > Log Message:
> > Turns out some gethostbyaddr versions expect a char* instead of void*.
> > Cast doens't hurt here as the void* will take a char* anyway. Annoying
> > tho.
> 
>  You should explain it in the comment or the cast risks to be removed by
> the next person cleaning up this code.
> 

As I did when cleaning it, actually. Thanks for the reminder.
-- 
- Angel Vidal (Kry)
 Lead coder and Main Admin at aMule Project
 Contributor to wxWidgets
 (http://www.amule.org / kry at amule.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20060808/662ebe6a/attachment.pgp


More information about the wx-dev mailing list