mirror of
https://github.com/reactos/reactos.git
synced 2024-07-08 05:35:06 +00:00
Add type casts to RtlpCallQueryRegistryRoutine().
svn path=/trunk/; revision=38564
This commit is contained in:
parent
fa2d477672
commit
24dceb4922
|
@ -157,7 +157,7 @@ RtlpCallQueryRegistryRoutine(IN PRTL_QUERY_REGISTRY_TABLE QueryTable,
|
|||
}
|
||||
|
||||
/* 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 @@ RtlpCallQueryRegistryRoutine(IN PRTL_QUERY_REGISTRY_TABLE QueryTable,
|
|||
else
|
||||
{
|
||||
/* Just return the name */
|
||||
Name = QueryTable->Name;
|
||||
Name = (PWCHAR)QueryTable->Name;
|
||||
}
|
||||
|
||||
/* Capture key data */
|
||||
|
|
Loading…
Reference in a new issue