summaryrefslogtreecommitdiff
path: root/src/strpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strpool.c')
-rw-r--r--src/strpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strpool.c b/src/strpool.c
index 3ad0a80..af43e01 100644
--- a/src/strpool.c
+++ b/src/strpool.c
@@ -93,7 +93,7 @@ stringpool_strn2id(Stringpool *ss, const char *str, unsigned int len, int create
hashtbl = ss->stringhashtbl;
/* expand hashtable if needed */
- if (ss->nstrings * 2 > hashmask)
+ if ((Hashval)ss->nstrings * 2 > hashmask)
{
solv_free(hashtbl);