From aad635f766c450cd2cfac5fe5705213a417050b4 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 21 Jul 2008 23:11:23 -0700 Subject: [PATCH] Explicitly cast an int64 to an int32. --- hashtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashtable.c b/hashtable.c index 7da907c6..1775a0be 100644 --- a/hashtable.c +++ b/hashtable.c @@ -142,7 +142,7 @@ void *hashtable_find(struct hashtable *tbl, int64 key, int allocate_if_missing) if (key64) ((struct ht_int64_node*)node)->key = key; else - node->key = key; + node->key = (int32)key; tbl->entries++; return node; } -- 2.34.1