wininet: Avoid size_t type in trace.
This commit is contained in:
parent
faa54aeac8
commit
631f469cb5
|
@ -1628,8 +1628,7 @@ static DWORD get_chunk_size(const char *buffer)
|
||||||
static DWORD HTTP_ReadChunked(WININETHTTPREQW *req, void *buffer, DWORD size, DWORD *read, BOOL sync)
|
static DWORD HTTP_ReadChunked(WININETHTTPREQW *req, void *buffer, DWORD size, DWORD *read, BOOL sync)
|
||||||
{
|
{
|
||||||
char reply[MAX_REPLY_LEN], *p = buffer;
|
char reply[MAX_REPLY_LEN], *p = buffer;
|
||||||
DWORD buflen, to_write = size;
|
DWORD buflen, to_read, to_write = size;
|
||||||
size_t to_read;
|
|
||||||
int bytes_read;
|
int bytes_read;
|
||||||
|
|
||||||
*read = 0;
|
*read = 0;
|
||||||
|
|
Loading…
Reference in New Issue