Eric Pouech : winhttp: Use correct integral type.

Alexandre Julliard julliard at winehq.org
Fri Feb 4 16:08:35 CST 2022


Module: wine
Branch: master
Commit: 843a0a38110954e74c6c468a623aa3f02c8cba0d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=843a0a38110954e74c6c468a623aa3f02c8cba0d

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Feb  3 11:49:48 2022 +0100

winhttp: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winhttp/request.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index a3a6389a938..c32a33cbaf2 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -3586,7 +3586,7 @@ static DWORD socket_drain( struct socket *socket )
     return ERROR_SUCCESS;
 }
 
-static DWORD receive_close_status( struct socket *socket, unsigned int len )
+static DWORD receive_close_status( struct socket *socket, DWORD len )
 {
     DWORD reason_len, ret;
 
@@ -3694,7 +3694,8 @@ static DWORD socket_receive( struct socket *socket, void *buf, DWORD len, DWORD
 static void CALLBACK task_socket_receive( TP_CALLBACK_INSTANCE *instance, void *ctx, TP_WORK *work )
 {
     struct socket_receive *r = ctx;
-    DWORD ret, count, type;
+    DWORD ret, count;
+    WINHTTP_WEB_SOCKET_BUFFER_TYPE type;
 
     TRACE("running %p\n", work);
     ret = socket_receive( r->socket, r->buf, r->len, &count, &type );




More information about the wine-cvs mailing list