[asterisk-addons-commits] file: trunk r532 - /trunk/channels/ooh323c/src/ooSocket.c
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Mon Feb 18 10:06:47 CST 2008
Author: file
Date: Mon Feb 18 10:06:46 2008
New Revision: 532
URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=532
Log:
Get rid of a warning message from OOH323.
Modified:
trunk/channels/ooh323c/src/ooSocket.c
Modified: trunk/channels/ooh323c/src/ooSocket.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/channels/ooh323c/src/ooSocket.c?view=diff&rev=532&r1=531&r2=532
==============================================================================
--- trunk/channels/ooh323c/src/ooSocket.c (original)
+++ trunk/channels/ooh323c/src/ooSocket.c Mon Feb 18 10:06:46 2008
@@ -338,7 +338,7 @@
if (pNewSocket == 0) return ASN_E_INVPARAM;
*pNewSocket = accept (socket, (struct sockaddr *) (void*) &m_addr,
- &addr_length);
+ (socklen_t*)&addr_length);
if (*pNewSocket <= 0) return ASN_E_INVSOCKET;
if (destAddr != 0)
More information about the asterisk-addons-commits
mailing list