Fix mulIntMayOflo on 64-bit arches; fixes trac #867
authorIan Lynagh <igloo@earth.li>
Thu, 28 Sep 2006 00:48:06 +0000 (00:48 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 28 Sep 2006 00:48:06 +0000 (00:48 +0000)
commit28a0d04ee6650069e7912ea69d37376323dab17b
tree44c86e8e5009e520b6b357e156b1485088a2ad34
parentb214419d68962f9979fb3ddd22150a8a25960be5
Fix mulIntMayOflo on 64-bit arches; fixes trac #867
We were assuming we could multiply 2 32-bit numbers without overflowing
a 64-bit number, but we can't as the top bit is the sign bit.
includes/Stg.h