[commit: packages/random] master: rangeTest: Fix signed-ness of types (80df82a)
git at git.haskell.org
git at git.haskell.org
Thu Mar 19 15:45:00 UTC 2015
Repository : ssh://git@git.haskell.org/random
On branch : master
Link : http://git.haskell.org/packages/random.git/commitdiff/80df82aa70f8ad7c260603bc1578106982b50745
>---------------------------------------------------------------
commit 80df82aa70f8ad7c260603bc1578106982b50745
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Sat Mar 22 15:29:45 2014 +0100
rangeTest: Fix signed-ness of types
On some architectures types like CChar are signed whereas the use previously
assumed they were unsigned. Fix this by relying on Bounded instances where
possible.
>---------------------------------------------------------------
80df82aa70f8ad7c260603bc1578106982b50745
tests/rangeTest.hs | 87 +++++++++++++++++++++++++++---------------------------
1 file changed, 43 insertions(+), 44 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 80df82aa70f8ad7c260603bc1578106982b50745
More information about the ghc-commits
mailing list