*Really* RTS crash due to bad coercion.
authorMerijn Verstraaten <merijn@inconsistent.nl>
Wed, 24 Jul 2013 18:00:42 +0000 (19:00 +0100)
committerAustin Seipp <aseipp@pobox.com>
Thu, 7 Nov 2013 10:11:22 +0000 (04:11 -0600)
commit9c0eb7b8d7978f0abc98296dcab050f4b6249c61
tree0a43bfd3abf89b7c14608dd40d565dd323cb42ff
parent95a74f9b091a8b512828b6930ea46d7ac55be76b
*Really* RTS crash due to bad coercion.

Previous commit only moved the coercion mistake to a different
architecture (i.e. underflow could still occur on platforms where Int
is smaller than CInt). This patch should definitively deal with all
possible combinations.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
GHC/Event/Poll.hsc