resolve a compiler warning
authorRussell Bryant <russell@russellbryant.com>
Fri, 13 Jul 2007 20:15:16 +0000 (20:15 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 13 Jul 2007 20:15:16 +0000 (20:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75077 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index 9f0c058..8aa86a6 100644 (file)
@@ -611,7 +611,7 @@ int ast_stun_request(int s, struct sockaddr_in *dst,
                fd_set rfds;
                struct timeval to = { 3, 0 };   /* timeout, make it configurable */
                struct sockaddr_in src;
-               int srclen;
+               socklen_t srclen;
 
                res = stun_send(s, dst, req);
                if (res < 0) {