widl: fix a -Wsign-compare warning

Stefan Huehner stefan at huehner.org
Wed Jul 13 16:04:30 CDT 2005


Hi,

ChangeLog:
- fix a -Wsign-compare warning

Regards,
Stefan

-------------- next part --------------
Index: tools/widl/typelib.c
===================================================================
RCS file: /home/wine/wine/tools/widl/typelib.c,v
retrieving revision 1.15
diff -u -p -r1.15 typelib.c
--- tools/widl/typelib.c	9 Jun 2005 09:45:26 -0000	1.15
+++ tools/widl/typelib.c	13 Jul 2005 20:59:34 -0000
@@ -72,7 +72,7 @@ static unsigned short builtin_vt(const c
   kwp = bsearch(&key, oatypes, NTYPES, sizeof(oatypes[0]), kw_cmp_func);
 #else
   {
-    int i;
+    unsigned int i;
     for (kwp=NULL, i=0; i < NTYPES; i++)
       if (!kw_cmp_func(&key, &oatypes[i])) {
         kwp = &oatypes[i];


More information about the wine-patches mailing list