Commit 8a6e1513 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

secur32: Use 32-bit sizes in parameters structures.

parent 086e950a
......@@ -1436,7 +1436,7 @@ static SECURITY_STATUS SEC_ENTRY schan_DecryptMessage(PCtxtHandle context_handle
SIZE_T data_size;
char *data;
unsigned expected_size;
SIZE_T received = 0;
ULONG received = 0;
int idx;
unsigned char *buf_ptr;
SecBufferDesc input_desc = { 0 };
......@@ -1494,7 +1494,7 @@ static SECURITY_STATUS SEC_ENTRY schan_DecryptMessage(PCtxtHandle context_handle
return status;
}
TRACE("Received %Id bytes\n", received);
TRACE("Received %lu bytes\n", received);
memcpy(buf_ptr + ctx->header_size, data, received);
free(data);
......
......@@ -145,7 +145,7 @@ struct handshake_params
{
schan_session session;
SecBufferDesc *input;
SIZE_T input_size;
ULONG input_size;
SecBufferDesc *output;
ULONG *input_offset;
int *output_buffer_idx;
......@@ -156,9 +156,9 @@ struct recv_params
{
schan_session session;
SecBufferDesc *input;
SIZE_T input_size;
ULONG input_size;
void *buffer;
SIZE_T *length;
ULONG *length;
};
struct send_params
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment