1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 00:07:38 +00:00

C merge code: cast to correct pointer type, silences warning

This commit is contained in:
Thomas Waldmann 2015-08-09 16:19:53 +02:00
parent 955ac9c44c
commit 197ca9c0d3

View file

@ -396,7 +396,7 @@ hashindex_merge(HashIndex *index, HashIndex *other)
while((key = hashindex_next_key(other, key))) {
other_values = key + key_size;
my_values = hashindex_get(index, key);
my_values = (int32_t *)hashindex_get(index, key);
if(my_values == NULL) {
hashindex_set(index, key, other_values);
} else {