fix #2594: we were erroneously applying masks, as the reporter suggested
authorSimon Marlow <marlowsd@gmail.com>
Tue, 30 Sep 2008 11:56:11 +0000 (11:56 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 30 Sep 2008 11:56:11 +0000 (11:56 +0000)
commitdeb41aa9252c516c73b896dd52712c7dd912621e
tree655904505ea0725570067069a8016e54469a37e4
parenta5605c305ff873306ba0c495216736949fbf497b
fix #2594: we were erroneously applying masks, as the reporter suggested
My guess is that this is left over from when we represented Int8 and
friends as zero-extended rather than sign-extended.  It's amazing it hasn't
been noticed earlier.
rts/RtsAPI.c