Author: dgorbachev
Date: Sun Jan 4 08:40:27 2009
New Revision: 38564
URL:
http://svn.reactos.org/svn/reactos?rev=38564&view=rev
Log:
Add type casts to RtlpCallQueryRegistryRoutine().
Modified:
trunk/reactos/lib/rtl/registry.c
Modified: trunk/reactos/lib/rtl/registry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/registry.c?rev=385…
==============================================================================
--- trunk/reactos/lib/rtl/registry.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/registry.c [iso-8859-1] Sun Jan 4 08:40:27 2009
@@ -157,7 +157,7 @@
}
/* We can setup a default value... capture the defaults */
- Name = QueryTable->Name;
+ Name = (PWCHAR)QueryTable->Name;
Type = QueryTable->DefaultType;
Data = QueryTable->DefaultData;
Length = QueryTable->DefaultLength;
@@ -224,7 +224,7 @@
else
{
/* Just return the name */
- Name = QueryTable->Name;
+ Name = (PWCHAR)QueryTable->Name;
}
/* Capture key data */