PATCH: msrel32 new compiler

Dmitry Timoshkov dmitry at baikal.ru
Fri Jul 16 08:33:00 CDT 2004


"Marcus Meissner" <marcus at jet.franken.de> wrote:

> --- dlls/msrle32/msrle32.c 27 Feb 2004 21:51:13 -0000 1.8
> +++ dlls/msrle32/msrle32.c 16 Jul 2004 12:36:10 -0000
> @@ -572,7 +572,8 @@
>  
>        /* add EOL -- end of line */
>        lpbiOut->biSizeImage += 2;
> -      *((LPWORD)lpOut)++ = 0;
> +      *(LPWORD)lpOut = 0;
> +      lpOut += sizeof(DWORD);

Shouldn't this one and others be lpOut += sizeof(WORD) and not DWORD?

-- 
Dmitry.




More information about the wine-devel mailing list