26 Oct
2004
26 Oct
'04
1:51 a.m.
Hans Leidekker <hans(a)it.vu.nl> writes:
+INT WINAPI WSAEnumProtocolsA( LPINT lpiProtocols, LPWSAPROTOCOL_INFOA lpBuffer, LPDWORD lpdwLength ) +{ + return WINSOCK_EnumProtocols( lpiProtocols, (WSAPROTOCOL_INFOW *)lpBuffer, lpdwLength, FALSE ); +}
You cannot cast a WSAPROTOCOL_INFOA* to a WSAPROTOCOL_INFOW*, the structures don't have the same size. -- Alexandre Julliard julliard(a)winehq.org