summaryrefslogtreecommitdiff
path: root/hashtable.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-21 23:11:23 -0700
committerWayne Davison <wayned@samba.org>2008-07-21 23:11:23 -0700
commitaad635f766c450cd2cfac5fe5705213a417050b4 (patch)
tree702c498aca40aac43c356588c79c1439407ab32b /hashtable.c
parenta72f37bb67f16c2d5a17bae77f7a82bcfdd96a9c (diff)
downloadrsync-aad635f766c450cd2cfac5fe5705213a417050b4.tar.gz
Explicitly cast an int64 to an int32.
Diffstat (limited to 'hashtable.c')
-rw-r--r--hashtable.c2
1 files changed, 1 insertions, 1 deletions
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;
}