PATCH: fix dlls/winsock/socket.c
Gerald Pfeifer
gerald at pfeifer.com
Thu Dec 11 02:28:01 CST 2003
The following patch broke all FreeBSD platforms (and probably others)...
revision 1.142
date: 2003/12/11 05:16:48; author: julliard; state: Exp; lines: +35 -0
Kirill Smelkov <kirr at landau.phys.spbu.ru>
Added stub and prototype for WSAJoinLeaf.
...and, frankly, having both u_long and ulong on a single line looks
suspicious by itself.
ChangeLog:
Fix types in WSAHtonl.
Index: socket.c
===================================================================
RCS file: /home/wine/wine/dlls/winsock/socket.c,v
retrieving revision 1.142
diff -3 -u -p -r1.142 socket.c
--- socket.c 11 Dec 2003 05:16:48 -0000 1.142
+++ socket.c 11 Dec 2003 08:16:49 -0000
@@ -1585,7 +1585,7 @@ u_short WINAPI WS_htons(u_short hostshor
/***********************************************************************
* WSAHtonl (WS2_32.46)
*/
-int WINAPI WSAHtonl(SOCKET s, u_long hostlong, ulong *lpnetlong)
+int WINAPI WSAHtonl(SOCKET s, u_long hostlong, u_long *lpnetlong)
{
FIXME("stub.\n");
return INVALID_SOCKET;
More information about the wine-patches
mailing list