Fixed sign-compare warnings

This commit is contained in:
Armin Novak 2019-02-07 14:33:30 +01:00
parent 856252a62f
commit 3eb3ad3cab
2 changed files with 3 additions and 3 deletions

View File

@ -665,7 +665,7 @@ static char* next_line(FILE* fd, size_t* len)
int c;
char* newbuf;
char* lrbuf;
int lrsiz;
size_t lrsiz;
*len = 0;
lrsiz = 0;
lrbuf = NULL;

View File

@ -762,7 +762,7 @@ static UINT rdpdr_server_send_client_id_confirm(RdpdrServerContext* context)
static UINT rdpdr_server_receive_device_list_announce_request(
RdpdrServerContext* context, wStream* s, RDPDR_HEADER* header)
{
int i;
UINT32 i;
UINT32 DeviceCount;
UINT32 DeviceType;
UINT32 DeviceId;
@ -855,7 +855,7 @@ static UINT rdpdr_server_receive_device_list_announce_request(
static UINT rdpdr_server_receive_device_list_remove_request(
RdpdrServerContext* context, wStream* s, RDPDR_HEADER* header)
{
int i;
UINT32 i;
UINT32 DeviceCount;
UINT32 DeviceType;
UINT32 DeviceId;