[ros-diffs] [fireball] 55077: - Misc trunk headers compatibility fixes.

fireball at svn.reactos.org fireball at svn.reactos.org
Sun Jan 22 21:31:02 UTC 2012


Author: fireball
Date: Sun Jan 22 21:31:01 2012
New Revision: 55077

URL: http://svn.reactos.org/svn/reactos?rev=55077&view=rev
Log:
- Misc trunk headers compatibility fixes.

Modified:
    branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c

Modified: branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c
URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c?rev=55077&r1=55076&r2=55077&view=diff
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/eng/device.c [iso-8859-1] Sun Jan 22 21:31:01 2012
@@ -331,12 +331,12 @@
                                        HS_DDI_MAX,
                                        PrimarySurface.FillPatterns,
                                        sizeof(PrimarySurface.gdiinfo),
-                                       &PrimarySurface.gdiinfo,
+                                       (PULONG)&PrimarySurface.gdiinfo,
                                        sizeof(PrimarySurface.devinfo),
                                        &PrimarySurface.devinfo,
                                        NULL,
                                        L"",
-                                       (HANDLE) (PrimarySurface.VideoFileObject->DeviceObject));
+                                       PrimarySurface.VideoFileObject->DeviceObject);
 
             /* If no handle, then fallback to default */
             if (!PrimarySurface.hPDev)
@@ -361,12 +361,12 @@
                                        HS_DDI_MAX,
                                        PrimarySurface.FillPatterns,
                                        sizeof(PrimarySurface.gdiinfo),
-                                       &PrimarySurface.gdiinfo,
+                                       (PULONG)&PrimarySurface.gdiinfo,
                                        sizeof(PrimarySurface.devinfo),
                                        &PrimarySurface.devinfo,
                                        NULL,
                                        L"",
-                                       (HANDLE) (PrimarySurface.VideoFileObject->DeviceObject));
+                                       PrimarySurface.VideoFileObject->DeviceObject);
 
             if (!PrimarySurface.hPDev)
             {




More information about the Ros-diffs mailing list