[MPlayer-dev-eng] Re: [PATCH] unrarlib.h 64bits fix

ybastide ybastide at wanadoo.fr
Sat Mar 18 17:01:29 CET 2006


Guillaume POIRIER wrote:
> Hi,
> 
> On 3/18/06, ybastide <ybastide at wanadoo.fr> wrote:
>> unrarlib.h declares 32 bits UDWORD as unsigned long. This breaks the CRC
>> check.
> 
>   #ifdef _UNIX                                /* LINUX/UNIX definitions       */
>   typedef unsigned char    UBYTE;
>   typedef unsigned short   UWORD;
> -typedef unsigned long    UDWORD;
> +typedef unsigned int     UDWORD;
>   #endif
> 
> This patch seems so logical and straightforward that I'm really
> tempted to apply it right away.... but the existing definition seems
> so stupid to me that I can't quite imagine anyone writhing such a
> thing.

Good'ol' windows 3-era programming ...

yves




More information about the MPlayer-dev-eng mailing list