mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
C merge code: cast to correct pointer type, silences warning
This commit is contained in:
parent
955ac9c44c
commit
197ca9c0d3
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue