[NTOS:IO][GDI32][CMD] Fix some under-sized variables. CORE-14922

Fixes x64 boot with RTC.
This commit is contained in:
Thomas Faber 2020-03-13 20:45:06 +01:00
parent cb5aa7bee4
commit 72c51aabba
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
3 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@ IntCreateDICW(
UNICODE_STRING Device, Output;
HDC hdc = NULL;
BOOL Display = FALSE, Default = FALSE;
ULONG UMdhpdev = 0;
HANDLE UMdhpdev = 0;
HANDLE hspool = NULL;
@ -65,7 +65,7 @@ IntCreateDICW(
iType, // DCW 0 and ICW 1.
Display,
hspool,
(PVOID) &UMdhpdev );
&UMdhpdev );
#if 0
// Handle something other than a normal dc object.
if (GDI_HANDLE_GET_TYPE(hdc) != GDI_OBJECT_TYPE_DC)