From: sparky4 Date: Sun, 24 May 2015 05:59:59 +0000 (-0500) Subject: fack!! wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=eb9e7b932f2b49b48d90d1bb854e2263414b2268;p=16.git fack!! wwww modified: pcxtest.exe modified: src/lib/bitmap.c --- diff --git a/pcxtest.exe b/pcxtest.exe index 0ac0815e..2c9959a3 100644 Binary files a/pcxtest.exe and b/pcxtest.exe differ diff --git a/src/lib/bitmap.c b/src/lib/bitmap.c index 81458938..3777c3d1 100644 --- a/src/lib/bitmap.c +++ b/src/lib/bitmap.c @@ -89,7 +89,7 @@ bitmapLoadPcx(char *filename) { loadPcxStage1(file, &result); /* allocate the buffer */ - 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);