summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-06-25 08:49:29 +0100
committerVincent Sanders <vince@kyllikki.org>2019-06-25 08:49:29 +0100
commitdc9762fef3aa5e4e026cfff49eb05466160e5442 (patch)
tree15fa0c04245363d5347f85049c847bdfe45b664a
parent8265b8b66f7072a659dbc0f3e50fe23d6d6a68a1 (diff)
downloadnetsurf-dc9762fef3aa5e4e026cfff49eb05466160e5442.tar.gz
netsurf-dc9762fef3aa5e4e026cfff49eb05466160e5442.tar.bz2
revert 8265b8b66f7072a659dbc0f3e50fe23d6d6a68a1 as ssize_t is not available everywhere
-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 5b10499f1..91c4e65bb 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, (ssize_t) v);
+ DUK_SPRINTF((char *) buf, "%"PRIsizet, (size_t) v);
DUK__EMIT_CSTR(js_ctx, (const char *) buf);
}
#endif