OFLAGS=-ot -ox -ob -ol -oh -or
-FLAGS=-0 -d2 -wo $(OFLAGS)# -mh
+FLAGS=-0 -d2 -wo $(OFLAGS) -mh
DIRSEP=\
SRC=src$(DIRSEP)\r
SRCLIB=$(SRC)lib$(DIRSEP)
FILE *file;\r
bitmap_t result;\r
dword bufSize;\r
- int index;\r
+ dword index;\r
byte count, val;
\r
/* open the PCX file for reading */\r
loadPcxStage1(file, &result);
\r
/* allocate the buffer */\r
- bufSize = ((dword)result.width * result.height);
+ bufSize = (result.width * result.height);
result.data = malloc((bufSize));
- /*0000printf("Size of block is %u bytes\n", _msize(result.data));
+ printf("Size of block is %u bytes\n", _msize(result.data));
printf("Size of bufSize is %lu bytes\n", bufSize);
printf("Size of result.width is %lu \n", result.width);
printf("Size of result.height is %lu \n", result.height);
- printf("Dimensions of result is %lu\n", result.width*result.height);*/
+ printf("Dimensions of result is %lu\n", result.width*result.height);
//exit(0);
if(!result.data) {
fprintf(stderr, "Could not allocate memory for bitmap data.");\r