mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +03:00
Duktape: Probably should use ssize_t
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
84b8e7dfa1
commit
8265b8b66f
@ -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, (size_t) v);
|
||||
DUK_SPRINTF((char *) buf, "%"PRIsizet, (ssize_t) v);
|
||||
DUK__EMIT_CSTR(js_ctx, (const char *) buf);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user