osReserveHeapMemory: handle signed rlim_t
authorFraser Tweedale <frase@frase.id.au>
Mon, 8 Apr 2019 07:27:06 +0000 (17:27 +1000)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Tue, 23 Apr 2019 13:27:30 +0000 (09:27 -0400)
commit6a491726bbe000c4b0effc4175caaaabc7416f1e
treece102819ef7c530b68916564249a15621722e2e1
parent1959bad3feb9a05c8a5f2a4249a2506c5770d6fe
osReserveHeapMemory: handle signed rlim_t

rlim_t is a signed type on FreeBSD, and the build fails with a
sign-compare error.  Add explicit (unsigned) cast to handle this
case.
rts/posix/OSMem.c