PATCH: fix dlls/winsock/socket.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx>
  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;


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux