* to the project. For more information see the website or contact
* the copyright holders.
*
- * $Id: olsrd_dyn_gw.c,v 1.25 2007/11/08 23:23:13 bernd67 Exp $
+ * $Id: olsrd_dyn_gw.c,v 1.26 2007/11/08 23:53:43 bernd67 Exp $
*/
/*
fclose(fp);
if(retval == 0){
+ /* And we cast here since we get warnings on Win32 */
olsr_printf(1, "HNA[%08x/%08x] is invalid\n", (unsigned int)net->v4.s_addr, (unsigned int)mask->v4.s_addr);
}
return retval;
* to the project. For more information see the website or contact
* the copyright holders.
*
- * $Id: main.c,v 1.30 2007/11/08 23:23:13 bernd67 Exp $
+ * $Id: main.c,v 1.31 2007/11/08 23:54:28 bernd67 Exp $
*/
/* olsrd host-switch daemon */
/* Get "fake IP" */
for (i = 0; i < 20; i++)
{
+ /* Win32 needs that cast. */
if (recv(oc->socket, (void *)&new_addr, sizeof(new_addr), 0) == 4)
break;