From dc9762fef3aa5e4e026cfff49eb05466160e5442 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 25 Jun 2019 08:49:29 +0100 Subject: [PATCH] revert 8265b8b66f7072a659dbc0f3e50fe23d6d6a68a1 as ssize_t is not available everywhere --- content/handlers/javascript/duktape/duktape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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