[vlc-commits] SAP: fix Win32 warning
Rémi Denis-Courmont
git at videolan.org
Mon Jun 13 16:46:24 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 13 17:45:46 2011 +0300| [9b18dec76f067d7d0050fb37571dfac2b68bd857] | committer: Rémi Denis-Courmont
SAP: fix Win32 warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b18dec76f067d7d0050fb37571dfac2b68bd857
---
modules/services_discovery/sap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index 16c0a75..dfcc39c 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -488,7 +488,7 @@ static void *Run( void *data )
if( s != INVALID_SOCKET )
{
INTERFACE_INFO ifaces[10]; // Assume there will be no more than 10 IP interfaces
- size_t len = sizeof(ifaces);
+ DWORD len = sizeof(ifaces);
if( SOCKET_ERROR != WSAIoctl(s, SIO_GET_INTERFACE_LIST, NULL, 0, &ifaces, len, &len, NULL, NULL) )
{
More information about the vlc-commits
mailing list