]> git.kaiwu.me - quickjs.git/commit
Remove unnecessary ssize_t posix-ism
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 16 Feb 2024 09:25:29 +0000 (10:25 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Fri, 16 Feb 2024 09:25:29 +0000 (10:25 +0100)
commit3bb2ca360e994c93e9bf273a685c061d5e0b58f4
tree2f09752166afb9d8d3a5ae384cf2f0b3ea3e66b8
parentc06af876f6d44488bad3c3e1e5f479edb36f8bf5
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.
quickjs.c