diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-06-25 08:49:29 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-06-25 08:49:29 +0100 |
commit | dc9762fef3aa5e4e026cfff49eb05466160e5442 (patch) | |
tree | 15fa0c04245363d5347f85049c847bdfe45b664a /content | |
parent | 8265b8b66f7072a659dbc0f3e50fe23d6d6a68a1 (diff) | |
download | netsurf-dc9762fef3aa5e4e026cfff49eb05466160e5442.tar.gz netsurf-dc9762fef3aa5e4e026cfff49eb05466160e5442.tar.bz2 |
revert 8265b8b66f7072a659dbc0f3e50fe23d6d6a68a1 as ssize_t is not available everywhere
Diffstat (limited to 'content')
-rw-r--r-- | content/handlers/javascript/duktape/duktape.c | 2 |
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 |