mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 01:37:20 +00:00
cleanup void * in _hashindex.c (2nd)
This commit is contained in:
parent
9d1276af04
commit
718abfd6f8
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ static void hashindex_write(HashIndex *index, PyObject *file_py);
|
|||
static uint64_t hashindex_compact(HashIndex *index);
|
||||
static HashIndex *hashindex_init(int capacity, int key_size, int value_size);
|
||||
static const unsigned char *hashindex_get(HashIndex *index, const unsigned char *key);
|
||||
static int hashindex_set(HashIndex *index, const unsigned char *key, const unsigned void *value);
|
||||
static int hashindex_set(HashIndex *index, const unsigned char *key, const unsigned char *value);
|
||||
static int hashindex_delete(HashIndex *index, const unsigned char *key);
|
||||
static unsigned char *hashindex_next_key(HashIndex *index, const unsigned char *key);
|
||||
|
||||
|
@ -545,7 +545,7 @@ hashindex_get(HashIndex *index, const unsigned char *key)
|
|||
}
|
||||
|
||||
static int
|
||||
hashindex_set(HashIndex *index, const unsigned char *key, const void *value)
|
||||
hashindex_set(HashIndex *index, const unsigned char *key, const unsigned char *value)
|
||||
{
|
||||
int start_idx;
|
||||
int idx = hashindex_lookup(index, key, &start_idx);
|
||||
|
|
Loading…
Reference in a new issue