Fix a -Wsign-compare warning.

This commit is contained in:
Stefan Huehner 2005-07-14 12:18:38 +00:00 committed by Alexandre Julliard
parent c532793426
commit 737978a833
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ static unsigned short builtin_vt(const char *kw)
kwp = bsearch(&key, oatypes, NTYPES, sizeof(oatypes[0]), kw_cmp_func); kwp = bsearch(&key, oatypes, NTYPES, sizeof(oatypes[0]), kw_cmp_func);
#else #else
{ {
int i; unsigned int i;
for (kwp=NULL, i=0; i < NTYPES; i++) for (kwp=NULL, i=0; i < NTYPES; i++)
if (!kw_cmp_func(&key, &oatypes[i])) { if (!kw_cmp_func(&key, &oatypes[i])) {
kwp = &oatypes[i]; kwp = &oatypes[i];