Remove unnecessary ssize_t posix-ism (#265)
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.
This commit is contained in:
parent
fb03ca24d2
commit
a0f507735d
1 changed files with 1 additions and 1 deletions
|
@ -6117,7 +6117,7 @@ void JS_ComputeMemoryUsage(JSRuntime *rt, JSMemoryUsage *s)
|
|||
void JS_DumpMemoryUsage(FILE *fp, const JSMemoryUsage *s, JSRuntime *rt)
|
||||
{
|
||||
fprintf(fp, "QuickJS-ng memory usage -- %s version, %d-bit, malloc limit: %"PRId64"\n\n",
|
||||
JS_GetVersion(), (int)sizeof(void *) * 8, (int64_t)(ssize_t)s->malloc_limit);
|
||||
JS_GetVersion(), (int)sizeof(void *) * 8, s->malloc_limit);
|
||||
if (rt) {
|
||||
static const struct {
|
||||
const char *name;
|
||||
|
|
Loading…
Reference in a new issue