Commit 9b18dec7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

SAP: fix Win32 warning

parent d5f20ce3
...@@ -488,7 +488,7 @@ static void *Run( void *data ) ...@@ -488,7 +488,7 @@ static void *Run( void *data )
if( s != INVALID_SOCKET ) if( s != INVALID_SOCKET )
{ {
INTERFACE_INFO ifaces[10]; // Assume there will be no more than 10 IP interfaces 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) ) if( SOCKET_ERROR != WSAIoctl(s, SIO_GET_INTERFACE_LIST, NULL, 0, &ifaces, len, &len, NULL, NULL) )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment