[cvs-nhc98] Fix bugs with sized types <-> Integer conversions.

Malcolm Wallace malcolm@sparud.net
Tue, 9 Jan 2001 12:45:49 +0100 (CET)


malcolm: Tue Jan  9 12:45:48 CET 2001

Update of /usr/src/master/nhc/src/runtime/Builtin
In directory hinken:/tmp/cvs-serv13689

Modified Files:
	Makefile primIntegerFromInt64.c primsInt.c primsWord.c 
Added Files:
	primIntegerFromWord64.c primIntegerToWord64.c 
Log Message:
Fix bugs with sized types <-> Integer conversions.
  * Int/Word64 -> Integer was truncated to 32 bits.
  * large Word32 -> Integer were treated as negatives.