diff --git a/tools/widl/typelib.c b/tools/widl/typelib.c index 384fc4bf262..a3eee2c5a0d 100644 --- a/tools/widl/typelib.c +++ b/tools/widl/typelib.c @@ -72,7 +72,7 @@ static unsigned short builtin_vt(const char *kw) 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];