mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:03:00 +00:00
[SDK:CMLIB][MKHIVE][BOOT:ENVIRON][NTOS:CONFIG] Add missing HvGetCell casts. Replace some ASSERT(FALSE).
This commit is contained in:
parent
641fdb342e
commit
a4cad7be6b
8 changed files with 36 additions and 36 deletions
|
@ -733,7 +733,7 @@ RegSetValueExW(
|
|||
else
|
||||
{
|
||||
/* The value already exists, use it. Get the value cell. */
|
||||
ValueCell = HvGetCell(&Key->RegistryHive->Hive, CellIndex);
|
||||
ValueCell = (PCM_KEY_VALUE)HvGetCell(&Key->RegistryHive->Hive, CellIndex);
|
||||
ASSERT(ValueCell != NULL);
|
||||
Status = STATUS_SUCCESS;
|
||||
}
|
||||
|
@ -887,7 +887,7 @@ RegQueryValueExW(
|
|||
return ERROR_FILE_NOT_FOUND; // STATUS_OBJECT_NAME_NOT_FOUND;
|
||||
|
||||
/* Get the value cell */
|
||||
ValueCell = HvGetCell(Hive, CellIndex);
|
||||
ValueCell = (PCM_KEY_VALUE)HvGetCell(Hive, CellIndex);
|
||||
ASSERT(ValueCell != NULL);
|
||||
|
||||
RepGetValueData(Hive, ValueCell, lpType, lpData, lpcbData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue