From eb9e7b932f2b49b48d90d1bb854e2263414b2268 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 24 May 2015 00:59:59 -0500 Subject: [PATCH] fack!! wwww modified: pcxtest.exe modified: src/lib/bitmap.c --- pcxtest.exe | Bin 37879 -> 37889 bytes src/lib/bitmap.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pcxtest.exe b/pcxtest.exe index 0ac0815ecf6dd4cd4d0f7ff895c3a2285c7ea39a..2c9959a3121dbc0182e5e7825a5f4023da82c079 100644 GIT binary patch delta 4937 zcmZ8k30PBC_P_VNKmvkESQChXWetJ~xL^ep#VEK%7*X6JOMoaOm_)wzFd@;z^PELID}<2Ip@eMTobo67c=O2&`uEM&u-)TjdP* zJTxvwV~P7kH{TNAjCz#gt8nz;I>+-}@|KC+9Y1rO{A0!Z1x0h)(dR6|X*>6IYke}| zt9!f@xEs)m#_MH#z#+o6Qo?m{kNNKvX#bfj*FTEVn_%i=pp9_4kCXliGXt^}F5jl( zvTn(poNo6ibg>Ke1l)h+Rr&q#jZYhBy?^UzmQTjFj!u39ZG1{t52c2KfkRSDeVmft z9^$g~?jMPBfxkZW54aNj1uVEH7v9hS*syM#>k-JR4r%UW@KzXew^_VBZaeooEu!oqF1-d*EE~3oc@(oYOtw zF7kzx({l=!tAYq-_c@TAQV5Id$t_X4?T zejSpNx)*d_i|$#&su#rGpS$|!k!P$@N9ZWs6Pv=hs&k$0*^6l}=y&5=d^)asq%MaK zO0DmEVmgbCoU88hA^z*HZdls+M%!-Taq8}Kcjp`CU^;+AnMUJbgtCGvV4KoNhk{Q~ z4t)rDL6P(#ln3pjzkwon20a2L!8d(B3|@bRUjn%yztX)hCRDB56T0&}yT0!Q*4<6` zb~(QoOre_WEvR<5NM4}NU;pJB-?bhMcGIkL1Dsc*<~Scbdq0yno;uGDJd^wJ*mDC= zd?NTWh6s4J-c3lWobbosWN1G9C#b{n>Hk4hn1*%(7uJj+%EPz3a;R^n)v-9W?NK{p z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)2wWi_u!WW=)lzi`xQFy|PML=#}9Mz-=#s&R1eW zDl3cEmg3%?+VsFMP6L z8P>R@L5?@##D+-xA&}FMB|Y@KcU9F^V?Eoh55b=sH1WrLyh*>V#@%C|aXv~4cN!*> zKXs4Wc!`Hsw+D@{;@Hxp#8Tbgq#;^3*Q5~&@wG}(A<(s1Dx4n4mX93dn>Azx%-Nhl z4nWgpCBCuVLZ%MRAP$6n9A`sdvqpFyUkDWS9t>`l!h&W2{W$`B@?RW7!OAUi;Ux~Mp<#<0o5ap7 zO5r&yUOw*<96@OiHgP_$9==1og2OxEDdMdh{s5v{I zW#e(9|mA=mt<)vP{jY>f*nVVfZpg#X*24|gw4V7*quIkY$qzu*`H zB1aT#Zx;yLaV|b@J3MWcCr`jx_&m0`P}F*w9lamCC}2jc%>a~AeG zG}uYbI+P?7es<&v*~UOou`t*sh5R-FHiIQ?ld#sEZAxC}EV#Z!CY(Hho$Nz6)274{ z@5gaG1Ud`x7o^TPNzE2BZumda(!GejiL4!4)D&gqLL|U0%jaF^m>`ZxEny$9ez3g>FwO>-!MA(XJ%N;0TU?>i(|%b2@%b vk|K@fN7Hm-HZ6=+WUIIbscN!H6&gYNg|E(5WhB$Iy1Qq42F>rqEB*fgn65n4 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); -- 2.39.5