From 1b29eca42790822ad98129952d73bcd8671aaf7a Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 14 Dec 2023 12:10:35 -0800 Subject: [PATCH] build: fix constness on config pointer in ingester thread otherwise build fails --- nostrdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostrdb.c b/nostrdb.c index d406215..db692c9 100644 --- a/nostrdb.c +++ b/nostrdb.c @@ -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 };