From a8d5b671830f1e921b55bdd87775cd3cecca20ca Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 1 Jun 2009 19:23:53 +0000 Subject: [PATCH] fix windows build a different way git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13537 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libnatpmp/natpmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libnatpmp/natpmp.c b/libs/libnatpmp/natpmp.c index a53eea50d1..33c9a07340 100644 --- a/libs/libnatpmp/natpmp.c +++ b/libs/libnatpmp/natpmp.c @@ -183,7 +183,7 @@ int readnatpmpresponse(natpmp_t * p, natpmpresp_t * response) 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) {