Author: hpoussin
Date: Wed May 31 16:28:30 2006
New Revision: 22124
URL:
http://svn.reactos.ru/svn/reactos?rev=22124&view=rev
Log:
Remove useless cast
Modified:
trunk/reactos/subsystems/win32/win32k/misc/driver.c
Modified: trunk/reactos/subsystems/win32/win32k/misc/driver.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/subsystems/win32/win32k/mis…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/misc/driver.c (original)
+++ trunk/reactos/subsystems/win32/win32k/misc/driver.c Wed May 31 16:28:30 2006
@@ -84,7 +84,7 @@
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 @@
}
/* 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;