[Xorp-cvs] XORP cvs commit: xorp/libcomm
Bruce M Simpson
bms@spc.org
Tue, 21 Jun 2005 19:15:49 +0100
On Tue, Jun 21, 2005 at 12:28:05PM +0100, Bruce M Simpson wrote:
> On Mon, Jun 20, 2005 at 09:37:49PM +0000, Pavlin Radoslavov wrote:
> > Log message:
> > Compilation bug fix: the last argument to getpeername()
> > should be a pointer to socklen_t instead of pointer to int.
> >
> > [Problem found on MacOS X 10.4 with gcc-4.0.]
>
> This might need a conditional cast for Windows:-
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/send_2.asp
After integrating this change and rebuilding, it appears that no such
conditional cast is currently required.
BMS