Skip to content

Commit

Permalink
build: fix constness on config pointer in ingester thread
Browse files Browse the repository at this point in the history
otherwise build fails
  • Loading branch information
jb55 committed Dec 14, 2023
1 parent 6e984d1 commit 1b29eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nostrdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2924,7 +2924,7 @@ static int ndb_writer_init(struct ndb_writer *writer, struct ndb_lmdb *lmdb)
// initialize the ingester queue and then spawn the thread
static int ndb_ingester_init(struct ndb_ingester *ingester,
struct ndb_writer *writer,
struct ndb_config *config)
const struct ndb_config *config)
{
int elem_size, num_elems;
static struct ndb_ingester_msg quit_msg = { .type = NDB_INGEST_QUIT };
Expand Down

0 comments on commit 1b29eca

Please sign in to comment.