Skip to content

Commit cc5441f

Browse files
committed
fix compile issues on macOS
Signed-off-by: William Casarin <[email protected]>
1 parent 7e36518 commit cc5441f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/nostrdb.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4078,7 +4078,8 @@ int ndb_text_search_with(struct ndb_txn *txn, const char *query,
40784078
struct ndb_word *search_word;
40794079
struct ndb_note *note;
40804080
struct cursor cur;
4081-
uint64_t since, until, timestamp_op, *pint, note_size;
4081+
uint64_t since, until, timestamp_op, *pint;
4082+
size_t note_size;
40824083
ndb_text_search_key_order_fn key_order_fn;
40834084
MDB_dbi text_db;
40844085
MDB_cursor *cursor;
@@ -4282,6 +4283,7 @@ int ndb_text_search_with(struct ndb_txn *txn, const char *query,
42824283
}
42834284

42844285
cont:
4286+
;
42854287
}
42864288

42874289
done:

0 commit comments

Comments
 (0)