nostrdb/build: fix constness on config pointer in ingester thread
otherwise build fails Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
3a7cf4d08d
commit
2f8f18b846
@@ -2932,7 +2932,7 @@ static int ndb_writer_init(struct ndb_writer *writer, struct ndb_lmdb *lmdb)
|
|||||||
// initialize the ingester queue and then spawn the thread
|
// initialize the ingester queue and then spawn the thread
|
||||||
static int ndb_ingester_init(struct ndb_ingester *ingester,
|
static int ndb_ingester_init(struct ndb_ingester *ingester,
|
||||||
struct ndb_writer *writer,
|
struct ndb_writer *writer,
|
||||||
struct ndb_config *config)
|
const struct ndb_config *config)
|
||||||
{
|
{
|
||||||
int elem_size, num_elems;
|
int elem_size, num_elems;
|
||||||
static struct ndb_ingester_msg quit_msg = { .type = NDB_INGEST_QUIT };
|
static struct ndb_ingester_msg quit_msg = { .type = NDB_INGEST_QUIT };
|
||||||
|
|||||||
Reference in New Issue
Block a user