]> 4ch.mooo.com Git - 16.git/commitdiff
fack!! wwww
authorsparky4 <sparky4@cock.li>
Sun, 24 May 2015 05:59:59 +0000 (00:59 -0500)
committersparky4 <sparky4@cock.li>
Sun, 24 May 2015 05:59:59 +0000 (00:59 -0500)
modified:   pcxtest.exe
modified:   src/lib/bitmap.c

pcxtest.exe
src/lib/bitmap.c

index 0ac0815ecf6dd4cd4d0f7ff895c3a2285c7ea39a..2c9959a3121dbc0182e5e7825a5f4023da82c079 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 81458938c2bb8cbfdf72373e53ea21d3f10f9601..3777c3d125b54ead3bb82498682b399db3715c2a 100644 (file)
@@ -89,7 +89,7 @@ bitmapLoadPcx(char *filename) {
     loadPcxStage1(file, &result);
 \r
     /* allocate the buffer */\r
-       bufSize = (result.width * result.height);
+       bufSize = ((dword)result.width * result.height);
        result.data = malloc((bufSize));
        /*0000printf("Size of block is %u bytes\n", _msize(result.data));
        printf("Size of bufSize is %lu bytes\n", bufSize);