Browse Source

forward changes made in prototypes to actual implementation

master
Felix von Leitner 1 month ago
parent
commit
8b933945a1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      cdb/cdb_make.c
  2. +1
    -1
      cdb/cdb_traverse.c

+ 1
- 1
cdb/cdb_make.c View File

@ -31,7 +31,7 @@ static int posplus(struct cdb_make *c,uint32 len) {
return 0;
}
int cdb_make_addend(struct cdb_make *c,unsigned long int keylen,unsigned long int datalen,uint32 h) {
int cdb_make_addend(struct cdb_make *c,size_t keylen,size_t datalen,uint32 h) {
struct cdb_hplist *head;
head = c->head;


+ 1
- 1
cdb/cdb_traverse.c View File

@ -27,7 +27,7 @@ int cdb_nextkey(struct cdb *c,uint32 *kpos) {
return doit(c,kpos);
}
int cdb_successor(struct cdb *c,const unsigned char *key,unsigned long int klen) {
int cdb_successor(struct cdb *c,const unsigned char *key,size_t klen) {
int r;
uint32 kpos;
if (key) {


Loading…
Cancel
Save