Fix segfault in array copy primops on 32-bit
authorJohan Tibell <johan.tibell@gmail.com>
Tue, 7 Jun 2011 12:44:23 +0000 (14:44 +0200)
committerDavid Terei <davidterei@gmail.com>
Tue, 7 Jun 2011 18:58:06 +0000 (11:58 -0700)
commitd0faaa6fa0cecd23c5670fd199e9206275313666
tree07cc52b24ef1716d9eb967526f7500552303f17c
parentf31e93496d7b7ec631b9402be9b566d0f5d2e1fa
Fix segfault in array copy primops on 32-bit

The second argument to C's memset was passed as a W8 while memset
expects an int.

Signed-off-by: David Terei <davidterei@gmail.com>
compiler/codeGen/CgPrimOp.hs