[ros-diffs] [weiden] 25582: This is the last fix for GCC4.2. Now everything can be built with -O3

weiden at svn.reactos.org weiden at svn.reactos.org
Mon Jan 22 00:55:00 CET 2007


Author: weiden
Date: Mon Jan 22 02:54:59 2007
New Revision: 25582

URL: http://svn.reactos.org/svn/reactos?rev=25582&view=rev
Log:
This is the last fix for GCC4.2. Now everything can be built with -O3

Modified:
    trunk/reactos/dll/win32/setupapi/parser.c
    trunk/reactos/subsystems/win32/win32k/objects/print.c

Modified: trunk/reactos/dll/win32/setupapi/parser.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/parser.c?rev=25582&r1=25581&r2=25582&view=diff
==============================================================================
--- trunk/reactos/dll/win32/setupapi/parser.c (original)
+++ trunk/reactos/dll/win32/setupapi/parser.c Mon Jan 22 02:54:59 2007
@@ -1033,7 +1033,7 @@
     const WCHAR *dir;
     WCHAR *ptr, *ret;
     INT dirid;
-    unsigned int len1;
+    unsigned int len1 = 0;
     DWORD len2;
 
     if (!SetupGetIntField( context, 1, &dirid )) return NULL;

Modified: trunk/reactos/subsystems/win32/win32k/objects/print.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/print.c?rev=25582&r1=25581&r2=25582&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/print.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/print.c Mon Jan 22 02:54:59 2007
@@ -125,7 +125,7 @@
          &BitmapObj->SurfObj,
          Escape,
          InSize,
-         (PVOID)InData,
+         (PVOID)((ULONG_PTR)InData),
          OutSize,
          (PVOID)OutData);
    }




More information about the Ros-diffs mailing list