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

Guillaume POIRIER poirierg at gmail.com
Sat Mar 18 15:51:48 CET 2006


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.

... so I'll way one day before committing it unless someone else think
it got to be applied right now.

Guillaume

--
Reinventing the wheel certainly is annoying, but as long as all other
wheels are square...

Reimar Döffinger




More information about the MPlayer-dev-eng mailing list