mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 09:01:13 +00:00
Remove useless cast
svn path=/trunk/; revision=22124
This commit is contained in:
parent
e6d8bd06e1
commit
c2f4c7bb97
|
@ -84,7 +84,7 @@ PGD_ENABLEDRIVER DRIVER_FindDDIDriver(LPCWSTR Name)
|
|||
SYSTEM_GDI_DRIVER_INFORMATION GdiDriverInfo;
|
||||
GRAPHICS_DRIVER *Driver = DriverList;
|
||||
NTSTATUS Status;
|
||||
WCHAR *FullName;
|
||||
LPWSTR FullName;
|
||||
LPCWSTR p;
|
||||
BOOL PathSeparatorFound;
|
||||
BOOL DotFound;
|
||||
|
@ -147,7 +147,7 @@ PGD_ENABLEDRIVER DRIVER_FindDDIDriver(LPCWSTR Name)
|
|||
}
|
||||
|
||||
/* If not, then load it */
|
||||
RtlInitUnicodeString (&GdiDriverInfo.DriverName, (LPWSTR)FullName);
|
||||
RtlInitUnicodeString (&GdiDriverInfo.DriverName, FullName);
|
||||
Status = ZwSetSystemInformation (SystemLoadGdiDriverInformation, &GdiDriverInfo, sizeof(SYSTEM_GDI_DRIVER_INFORMATION));
|
||||
ExFreePool(FullName);
|
||||
if (!NT_SUCCESS(Status)) return NULL;
|
||||
|
|
Loading…
Reference in a new issue