Commit 60b82dbd authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

wbemprox: Use correct integral type.

parent f1729574
...@@ -1939,7 +1939,8 @@ static WCHAR *append_path( const WCHAR *path, const WCHAR *segment, UINT *len ) ...@@ -1939,7 +1939,8 @@ static WCHAR *append_path( const WCHAR *path, const WCHAR *segment, UINT *len )
static WCHAR *get_file_version( const WCHAR *filename ) static WCHAR *get_file_version( const WCHAR *filename )
{ {
VS_FIXEDFILEINFO *info; VS_FIXEDFILEINFO *info;
DWORD size, len = 4 * 5 + ARRAY_SIZE( L"%u.%u.%u.%u" ); UINT size;
DWORD len = 4 * 5 + ARRAY_SIZE( L"%u.%u.%u.%u" );
void *block; void *block;
WCHAR *ret; WCHAR *ret;
...@@ -2499,7 +2500,8 @@ static WCHAR *get_ip4_string( DWORD addr ) ...@@ -2499,7 +2500,8 @@ static WCHAR *get_ip4_string( DWORD addr )
static enum fill_status fill_ip4routetable( struct table *table, const struct expr *cond ) static enum fill_status fill_ip4routetable( struct table *table, const struct expr *cond )
{ {
struct record_ip4routetable *rec; struct record_ip4routetable *rec;
UINT i, row = 0, offset = 0, size = 0; UINT i, row = 0, offset = 0;
ULONG size = 0;
MIB_IPFORWARDTABLE *forwards; MIB_IPFORWARDTABLE *forwards;
enum fill_status status = FILL_STATUS_UNFILTERED; enum fill_status status = FILL_STATUS_UNFILTERED;
...@@ -3710,8 +3712,8 @@ static enum fill_status fill_service( struct table *table, const struct expr *co ...@@ -3710,8 +3712,8 @@ static enum fill_status fill_service( struct table *table, const struct expr *co
ENUM_SERVICE_STATUS_PROCESSW *tmp, *services = NULL; ENUM_SERVICE_STATUS_PROCESSW *tmp, *services = NULL;
SERVICE_STATUS_PROCESS *status; SERVICE_STATUS_PROCESS *status;
WCHAR sysnameW[MAX_COMPUTERNAME_LENGTH + 1]; WCHAR sysnameW[MAX_COMPUTERNAME_LENGTH + 1];
DWORD len = ARRAY_SIZE( sysnameW ); DWORD len = ARRAY_SIZE( sysnameW ), needed, count;
UINT i, row = 0, offset = 0, size = 256, needed, count; UINT i, row = 0, offset = 0, size = 256;
enum fill_status fill_status = FILL_STATUS_FAILED; enum fill_status fill_status = FILL_STATUS_FAILED;
BOOL ret; BOOL ret;
......
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