ws2_32: Fix an int/long mismatch in a trace.

Francois Gouget fgouget at free.fr
Thu Mar 8 08:31:00 CST 2007


---
 dlls/ws2_32/socket.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index aaf9c1b..16222ca 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -4266,9 +4266,9 @@ INT WINAPI WSARecvFrom( SOCKET s, LPWSABUF lpBuffers, DWORD dwBufferCount,
     struct ws2_async *wsa;
     IO_STATUS_BLOCK* iosb;
 
-    TRACE("socket %04x, wsabuf %p, nbufs %d, flags %d, from %p, fromlen %ld, ovl %p, func %p\n",
+    TRACE("socket %04x, wsabuf %p, nbufs %d, flags %d, from %p, fromlen %d, ovl %p, func %p\n",
           s, lpBuffers, dwBufferCount, *lpFlags, lpFrom,
-          (lpFromlen ? *lpFromlen : -1L),
+          (lpFromlen ? *lpFromlen : -1),
           lpOverlapped, lpCompletionRoutine);
 
     fd = get_sock_fd( s, FILE_READ_DATA, &flags );
-- 
1.4.4.4



More information about the wine-patches mailing list