damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 82da5da4d3d93eb73c403dbd436fd352135ad6f2
parent 37f9c93705fee23c32555ba881149f61d06a69a4
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 15 Jan 2025 08:02:03 -0800

nostrdb: fix compile issues on macOS

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mnostrdb/src/nostrdb.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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: