Skip to content

Commit

Permalink
cleanup void * in _hashindex.c (2nd)
Browse files Browse the repository at this point in the history
  • Loading branch information
motwok committed Oct 27, 2018
1 parent 9d1276a commit 718abfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/borg/_hashindex.c
Expand Up @@ -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);

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 718abfd

Please sign in to comment.