mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Duktape: Hopefully silence issue with %lld
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
15a3c21232
commit
0eb5aa68fb
@ -35767,7 +35767,8 @@ DUK_LOCAL void duk__enc_fastint_tval(duk_json_enc_ctx *js_ctx, duk_tval *tv) {
|
||||
* "long long" type exists. Could also rely on C99 directly but that
|
||||
* won't work for older MSVC.
|
||||
*/
|
||||
DUK_SPRINTF((char *) buf, "%lld", (long long) v);
|
||||
/*DUK_SPRINTF((char *) buf, "%lld", (long long) v);*/
|
||||
DUK_SPRINTF((char *) buf, "%"PRIsizet, (size_t) v);
|
||||
DUK__EMIT_CSTR(js_ctx, (const char *) buf);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user