Remove unnecessary ssize_t posix-ism
ssize_t is not always available and the cast it was used in wasn't necessary in the first place, the value already has the right type. Note that the field malloc_limit is an int64_t in JSMemoryUsage whereas it is a size_t in JSMallocState.
This commit is contained in:
parent
c06af876f6
commit
3bb2ca360e
1 changed files with 1 additions and 1 deletions
|
@ -6242,7 +6242,7 @@ void JS_DumpMemoryUsage(FILE *fp, const JSMemoryUsage *s, JSRuntime *rt)
|
|||
"BigNum "
|
||||
#endif
|
||||
CONFIG_VERSION " version, %d-bit, malloc limit: %"PRId64"\n\n",
|
||||
(int)sizeof(void *) * 8, (int64_t)(ssize_t)s->malloc_limit);
|
||||
(int)sizeof(void *) * 8, s->malloc_limit);
|
||||
#if 1
|
||||
if (rt) {
|
||||
static const struct {
|
||||
|
|
Loading…
Reference in a new issue