Commit 956219b5 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msvcp60: Avoid signed-unsigned integer comparisons.

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