winhttp: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-03 11:49:48 +01:00 committed by Alexandre Julliard
parent 60b82dbda4
commit 843a0a3811
1 changed files with 3 additions and 2 deletions

View File

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