summaryrefslogtreecommitdiff
path: root/base/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'base/hash.c')
-rw-r--r--base/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/hash.c b/base/hash.c
index 4b85b6b3..24d49ab5 100644
--- a/base/hash.c
+++ b/base/hash.c
@@ -32,7 +32,7 @@ struct fz_hashtable_s
static unsigned hash(unsigned char *s, int len)
{
unsigned hash = 0;
- unsigned i;
+ int i;
for (i = 0; i < len; i++)
{
hash += s[i];