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
1 changed files with 1 additions and 1 deletions

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 {