Commit 0515b44f authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msvcp71: Avoid signed-unsigned integer comparisons.

parent 2dcc12aa
......@@ -2560,7 +2560,7 @@ static FILE* _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);
......
......@@ -160,7 +160,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