Browse Source

forward changes made in prototypes to actual implementation

master
Felix von Leitner 11 months ago
parent
commit
8b933945a1
  1. 2
      cdb/cdb_make.c
  2. 2
      cdb/cdb_traverse.c

2
cdb/cdb_make.c

@ -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;

2
cdb/cdb_traverse.c

@ -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