L constants are evil in 64 bits

This commit is contained in:
Vítor Santos Costa
2010-05-11 12:25:49 +01:00
parent c52dda489b
commit be2a3a635e
14 changed files with 37 additions and 31 deletions

2
C/scanner.c Normal file → Executable file
View File

@@ -163,7 +163,7 @@ AllocScannerMemory(unsigned int size)
ScannerExtraBlocks = ptr;
return (char *)(ptr+1);
} else if (Yap_TrailTop <= AuxSpScan+size) {
UInt alloc_size = sizeof(CELL) * 16 * 1024L;
UInt alloc_size = sizeof(CELL) * K16;
if (size > alloc_size)
alloc_size = size;