diff --git a/src/modules/HTTPLoop/cache.h b/src/modules/HTTPLoop/cache.h
index 0c3ff007e976886fd62145d507955fd3b0fc562c..0063f8f84ee13fd65625a7316cf22295e7185815 100644
--- a/src/modules/HTTPLoop/cache.h
+++ b/src/modules/HTTPLoop/cache.h
@@ -1,8 +1,8 @@
 struct cache_entry *aap_cache_lookup(char *s, ptrdiff_t len, 
-				 char *h, ptrdiff_t hlen,
-				 struct cache *c, int nl, 
-				 struct cache_entry **p, 
-				 int *hv);
+				     char *h, ptrdiff_t hlen,
+				     struct cache *c, int nl, 
+				     struct cache_entry **p, 
+				     size_t *hv);
 
 
 void aap_free_cache_entry(struct cache *c, struct cache_entry *e,