From f5c87f8ec5b5eee1b6e6fe9a2b1761ca7f056072 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 29 Aug 2008 16:31:55 +0100 Subject: [PATCH] msvfw32: Sign-compare warning fix. --- dlls/msvfw32/msvideo_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/msvfw32/msvideo_main.c b/dlls/msvfw32/msvideo_main.c index baea47b9264..a135db2c47b 100644 --- a/dlls/msvfw32/msvideo_main.c +++ b/dlls/msvfw32/msvideo_main.c @@ -102,7 +102,7 @@ static int compare_fourcc(DWORD fcc1, DWORD fcc2) return strncasecmp(fcc_str1, fcc_str2, 4); } -typedef BOOL (*enum_handler_t)(const char*, int, void*); +typedef BOOL (*enum_handler_t)(const char*, unsigned int, void*); static BOOL enum_drivers(DWORD fccType, enum_handler_t handler, void* param) { @@ -173,7 +173,7 @@ DWORD WINAPI VideoForWindowsVersion(void) return 0x040003B6; /* 4.950 */ } -static BOOL ICInfo_enum_handler(const char *drv, int nr, void *param) +static BOOL ICInfo_enum_handler(const char *drv, unsigned int nr, void *param) { ICINFO *lpicinfo = (ICINFO *)param; DWORD fccHandler = mmioStringToFOURCCA(drv + 5, 0); @@ -519,7 +519,7 @@ static HIC try_driver(driver_info_t *info) return 0; } -static BOOL ICLocate_enum_handler(const char *drv, int nr, void *param) +static BOOL ICLocate_enum_handler(const char *drv, unsigned int nr, void *param) { driver_info_t *info = (driver_info_t *)param; info->fccHandler = mmioStringToFOURCCA(drv + 5, 0);