2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>

* ntoskrnl/cm/regfile.c (CmiRemoveSubKey): Kill warnings.
	(CmiMergeFree): Ditto.

svn path=/trunk/; revision=4175
This commit is contained in:
Casper Hornstrup 2003-02-18 21:30:08 +00:00
parent d4830ae787
commit 05a7ea2883
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/cm/regfile.c (CmiRemoveSubKey): Kill warnings.
(CmiMergeFree): Ditto.
2003-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net> 2003-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/structs.h (OSVERSIONINFOEXA): Expand definition of * include/structs.h (OSVERSIONINFOEXA): Expand definition of

View file

@ -1992,7 +1992,7 @@ CmiRemoveSubKey(PREGISTRY_HIVE RegistryHive,
} }
/* Remove the key from the parent key's hash block */ /* Remove the key from the parent key's hash block */
if (ParentKey->KeyCell->HashTableOffset != -1) if (ParentKey->KeyCell->HashTableOffset != (BLOCK_OFFSET) -1)
{ {
DPRINT1("ParentKey HashTableOffset %lx\n", ParentKey->KeyCell->HashTableOffset) DPRINT1("ParentKey HashTableOffset %lx\n", ParentKey->KeyCell->HashTableOffset)
HashBlock = CmiGetBlock(RegistryHive, HashBlock = CmiGetBlock(RegistryHive,
@ -2010,7 +2010,7 @@ CmiRemoveSubKey(PREGISTRY_HIVE RegistryHive,
} }
/* Remove the key's hash block */ /* Remove the key's hash block */
if (SubKey->KeyCell->HashTableOffset != -1) if (SubKey->KeyCell->HashTableOffset != (BLOCK_OFFSET) -1)
{ {
DPRINT1("SubKey HashTableOffset %lx\n", SubKey->KeyCell->HashTableOffset) DPRINT1("SubKey HashTableOffset %lx\n", SubKey->KeyCell->HashTableOffset)
HashBlock = CmiGetBlock(RegistryHive, HashBlock = CmiGetBlock(RegistryHive,
@ -2757,7 +2757,7 @@ CmiMergeFree(PREGISTRY_HIVE RegistryHive,
ULONG BlockSize; ULONG BlockSize;
ULONG BinSize; ULONG BinSize;
PHBIN Bin; PHBIN Bin;
LONG i; ULONG i;
DPRINT("CmiMergeFree(Block %lx Offset %lx Size %lx) called\n", DPRINT("CmiMergeFree(Block %lx Offset %lx Size %lx) called\n",
FreeBlock, FreeOffset, FreeBlock->CellSize); FreeBlock, FreeOffset, FreeBlock->CellSize);