mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 04:02:34 +03:00
revert 8265b8b66f
as ssize_t is not available everywhere
This commit is contained in:
parent
8265b8b66f
commit
dc9762fef3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user