[ros-diffs] [navaraf] 32609: Workaround a buggy UINT_PTR definition in the include\host\typedefs.h for 64-bit *nix hosts.

navaraf at svn.reactos.org navaraf at svn.reactos.org
Sun Mar 9 12:35:28 CET 2008


Author: navaraf
Date: Sat Mar  8 12:50:58 2008
New Revision: 32609

URL: http://svn.reactos.org/svn/reactos?rev=3D32609&view=3Drev
Log:
Workaround a buggy UINT_PTR definition in the include\host\typedefs.h for 6=
4-bit *nix hosts.

Modified:
    trunk/reactos/tools/winebuild/res32.c

Modified: trunk/reactos/tools/winebuild/res32.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/winebuild/res32=
.c?rev=3D32609&r1=3D32608&r2=3D32609&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/tools/winebuild/res32.c (original)
+++ trunk/reactos/tools/winebuild/res32.c Sat Mar  8 12:50:58 2008
@@ -207,7 +207,7 @@
     res->data =3D file_pos - 2*sizeof(DWORD) + hdr_size;
     get_string( &res->type );
     get_string( &res->name );
-    if ((UINT_PTR)file_pos & 2) get_word();  /* align to dword boundary */
+    if ((ULONG_PTR)file_pos & 2) get_word();  /* align to dword boundary */
     get_dword();                        /* skip data version */
     get_word();                         /* skip mem options */
     res->lang =3D get_word();




More information about the Ros-diffs mailing list