Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 4490 → Rev 4491

/polymer/eduke32/build/src/defs.c
174,9 → 174,9
const int32_t xsiz = tilesizx[tile], ysiz = tilesizy[tile];
int32_t i, j;
 
char *ftd = (char *)Bmalloc(xsiz*ysiz);
char *ftd = (char *)Xmalloc(xsiz*ysiz);
 
faketiledata[tile] = (char *)Bmalloc(xsiz*ysiz + 400);
faketiledata[tile] = (char *)Xmalloc(xsiz*ysiz + 400);
 
for (i=xsiz-1; i>=0; i--)
{
1561,7 → 1561,7
fd = kopen4load(fn, 0);
 
// load the highpalookup and send it to polymer
highpaldata = (char *)Bmalloc(PR_HIGHPALOOKUP_DATA_SIZE);
highpaldata = (char *)Xmalloc(PR_HIGHPALOOKUP_DATA_SIZE);
 
{
char *filebuf;
1569,8 → 1569,7
 
filesize = kfilelength(fd);
 
filebuf = (char *)Bmalloc(filesize);
if (!filebuf) { kclose(fd); Bfree(highpaldata); break; }
filebuf = (char *)Xmalloc(filesize);
 
klseek(fd, 0, SEEK_SET);
if (kread(fd, filebuf, filesize)!=filesize)