fix types in generated C for comparison MachOps
authorSimon Marlow <simonmar@microsoft.com>
Tue, 14 Nov 2006 16:00:27 +0000 (16:00 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 14 Nov 2006 16:00:27 +0000 (16:00 +0000)
commit45b5e0b79b4276e761cab5e4a51a7eff9220c3ba
tree56f915f181211a7ede67444fd11062b58b5019ab
parent83568675d3e6bf2f8369d67b02b0c5e6d41b8adb
fix types in generated C for comparison MachOps
C comparisons have type 'int', but our generated code assumed they had
type 'StgWord', leading to (very) occasional warnings from gcc.
compiler/cmm/PprC.hs