Module: wine Branch: master Commit: f5c87f8ec5b5eee1b6e6fe9a2b1761ca7f056072 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5c87f8ec5b5eee1b6e6fe9a2b...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Fri Aug 29 16:31:55 2008 +0100
msvfw32: Sign-compare warning fix.
---
dlls/msvfw32/msvideo_main.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvfw32/msvideo_main.c b/dlls/msvfw32/msvideo_main.c index baea47b..a135db2 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);