Commit 51a79287 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msvcp90: Avoid signed-unsigned integer comparisons.

parent 2dbb23c8
......@@ -2533,7 +2533,7 @@ FILE* __cdecl _Fiopen_wchar(const wchar_t *name, int mode, int prot)
};
int real_mode = mode & ~(OPENMODE_ate|OPENMODE__Nocreate|OPENMODE__Noreplace|OPENMODE_binary);
int mode_idx;
unsigned int mode_idx;
FILE *f = NULL;
TRACE("(%s %d %d)\n", debugstr_w(name), mode, prot);
......
......@@ -195,7 +195,7 @@ unsigned short __cdecl wctype(const char *property)
{ "upper", _UPPER },
{ "xdigit", _HEX }
};
int i;
unsigned int i;
for(i=0; i<sizeof(properties)/sizeof(properties[0]); i++)
if(!strcmp(property, properties[i].name))
......
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