damus

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

commit acb4e6d17ef90d83e4d89395e914f74456de0e7a
parent e957c3b703eb3dfac860406257517aa8a1e4baba
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 10 Jul 2023 11:05:22 -0700

wasm: fix intptr warning

Diffstat:
Mdamus-c/nostrscript.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/damus-c/nostrscript.c b/damus-c/nostrscript.c @@ -56,7 +56,8 @@ static int nostr_cmd(struct wasm_interp *interp) { // length len = params[2].num.i32; - return nscript_nostr_cmd(interp, cmd, val ? (void*)val : (void*)ival, len); + intptr_t iptr = ival; + return nscript_nostr_cmd(interp, cmd, val ? (void*)val : (void*)iptr, len); } static int print_utf16_str(u16 *chars) {