From 51a79287c0dd7327e55796e26ed6fe10f8ea3f80 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 16 Feb 2013 21:09:21 +0000 Subject: [PATCH] msvcp90: Avoid signed-unsigned integer comparisons. --- dlls/msvcp90/ios.c | 2 +- dlls/msvcp90/misc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcp90/ios.c b/dlls/msvcp90/ios.c index eab867bbdbb..87ad06ea580 100644 --- a/dlls/msvcp90/ios.c +++ b/dlls/msvcp90/ios.c @@ -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); diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c index 8b3df210026..bacf26cb535 100644 --- a/dlls/msvcp90/misc.c +++ b/dlls/msvcp90/misc.c @@ -195,7 +195,7 @@ unsigned short __cdecl wctype(const char *property) { "upper", _UPPER }, { "xdigit", _HEX } }; - int i; + unsigned int i; for(i=0; i