*** outfile.c.orig Sat Apr 21 14:59:50 2001 --- outfile.c Sat Apr 13 21:43:24 2002 *************** *** 2574,2580 **** WriteMSBShort(0x0000); /* baseAddr */ WriteMSBShort(0x00ff); #endif ! i = (XRange*sizeof(Pixel)) | 0x8000; WriteMSBShort( i ); /* rowBytes */ WriteMSBShort(0); /* bounds.top */ WriteMSBShort(0); /* bounds.left */ --- 2574,2580 ---- WriteMSBShort(0x0000); /* baseAddr */ WriteMSBShort(0x00ff); #endif ! i = (int)((XRange*sizeof(Pixel)) | 0x8000); WriteMSBShort( i ); /* rowBytes */ WriteMSBShort(0); /* bounds.top */ WriteMSBShort(0); /* bounds.left */ *************** *** 2702,2708 **** *max = 0; *min = 255; ! RLEFileSize = 512 + 6*YRange*sizeof(Long); RLEOutput = False; PacketLen = 0; --- 2702,2708 ---- *max = 0; *min = 255; ! RLEFileSize = (int)( 512 + 6*YRange*sizeof(Long)); RLEOutput = False; PacketLen = 0;