summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-06-15 21:34:47 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-06-15 21:34:47 +0100
commit8265b8b66f7072a659dbc0f3e50fe23d6d6a68a1 (patch)
tree71d562a015d2b06b8060fdde39db1d0fb58bbacb
parent84b8e7dfa12455118187f0b8d352461f886bc3aa (diff)
downloadnetsurf-master.tar.gz
netsurf-master.tar.bz2
Duktape: Probably should use ssize_tHEADmaster
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rw-r--r--content/handlers/javascript/duktape/duktape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/javascript/duktape/duktape.c b/content/handlers/javascript/duktape/duktape.c
index 91c4e65bb..5b10499f1 100644
--- a/content/handlers/javascript/duktape/duktape.c
+++ b/content/handlers/javascript/duktape/duktape.c
@@ -35548,7 +35548,7 @@ DUK_LOCAL void duk__enc_fastint_tval(duk_json_enc_ctx *js_ctx, duk_tval *tv) {
* won't work for older MSVC.
*/
/*DUK_SPRINTF((char *) buf, "%lld", (long long) v);*/
- DUK_SPRINTF((char *) buf, "%"PRIsizet, (size_t) v);
+ DUK_SPRINTF((char *) buf, "%"PRIsizet, (ssize_t) v);
DUK__EMIT_CSTR(js_ctx, (const char *) buf);
}
#endif