msvcp90: Avoid signed-unsigned integer comparisons.
This commit is contained in:
parent
2dbb23c810
commit
51a79287c0
|
@ -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 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);
|
||||||
|
|
|
@ -195,7 +195,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