mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
Remove useless cast
svn path=/trunk/; revision=22124
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user