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

Alexandre Julliard julliard at wine.codeweavers.com
Thu Mar 8 15:35:54 CST 2007


Module: wine
Branch: master
Commit: 66c37f518468e801b407ce11f259b508e2027427
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=66c37f518468e801b407ce11f259b508e2027427

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Mar  8 15:31:00 2007 +0100

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

---

 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 );




More information about the wine-cvs mailing list