[Olsr-cvs] olsrd-current/src parser.c,1.34,1.35
Bernd Petrovitsch
(spam-protected)
Wed May 9 01:34:54 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29102/src
Modified Files:
parser.c
Log Message:
*killed a few warnings - Win32 needs to enter the 21st century with it's function prototypes
Index: parser.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/parser.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** parser.c 25 Apr 2007 22:08:10 -0000 1.34
--- parser.c 8 May 2007 23:34:52 -0000 1.35
***************
*** 475,479 ****
/* Extract size */
! if((cc = recv(fd, &pcklen, 2, MSG_PEEK)) != 2)
{
if(cc <= 0)
--- 475,479 ----
/* Extract size */
! if((cc = recv(fd, (void *)&pcklen, 2, MSG_PEEK)) != 2) /* Win needs a cast */
{
if(cc <= 0)
More information about the Olsr-cvs
mailing list