Explicitly cast an int64 to an int32.
[rsync/rsync.git] / hashtable.c
index 7da907c..1775a0b 100644 (file)
@@ -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;
 }