From 82da5da4d3d93eb73c403dbd436fd352135ad6f2 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 15 Jan 2025 08:02:03 -0800 Subject: [PATCH] nostrdb: fix compile issues on macOS Signed-off-by: William Casarin --- nostrdb/src/nostrdb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index f3d3247e..e1947229 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/src/nostrdb.c @@ -4078,7 +4078,8 @@ int ndb_text_search_with(struct ndb_txn *txn, const char *query, struct ndb_word *search_word; struct ndb_note *note; struct cursor cur; - uint64_t since, until, timestamp_op, *pint, note_size; + uint64_t since, until, timestamp_op, *pint; + size_t note_size; ndb_text_search_key_order_fn key_order_fn; MDB_dbi text_db; MDB_cursor *cursor; @@ -4282,6 +4283,7 @@ int ndb_text_search_with(struct ndb_txn *txn, const char *query, } cont: + ; } done: