[Freeswitch-svn] [commit] r13537 - freeswitch/trunk/libs/libnatpmp
FreeSWITCH SVN
mikej at freeswitch.org
Mon Jun 1 12:23:53 PDT 2009
Author: mikej
Date: Mon Jun 1 14:23:53 2009
New Revision: 13537
Log:
fix windows build a different way
Modified:
freeswitch/trunk/libs/libnatpmp/natpmp.c
Modified: freeswitch/trunk/libs/libnatpmp/natpmp.c
==============================================================================
--- freeswitch/trunk/libs/libnatpmp/natpmp.c (original)
+++ freeswitch/trunk/libs/libnatpmp/natpmp.c Mon Jun 1 14:23:53 2009
@@ -183,7 +183,7 @@
int n;
if(!p)
return NATPMP_ERR_INVALIDARGS;
- n = recvfrom(p->s, buf, sizeof(buf), 0,
+ n = recvfrom(p->s, (char *)buf, sizeof(buf), 0,
(struct sockaddr *)&addr, &addrlen);
if(n<0)
switch(errno) {
More information about the Freeswitch-svn
mailing list