msvcp60: Avoid signed-unsigned integer comparisons.
This commit is contained in:
parent
636e60b6e0
commit
956219b5d9
|
@ -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)
|
||||||
{ "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))
|
||||||
|
|
Loading…
Reference in New Issue