Commit 737978a8 authored by Stefan Huehner's avatar Stefan Huehner Committed by Alexandre Julliard

Fix a -Wsign-compare warning.

parent c5327934
...@@ -72,7 +72,7 @@ static unsigned short builtin_vt(const char *kw) ...@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment