mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 12:01:55 +00:00
[REACTOS] Fix 64 bit issues
This commit is contained in:
parent
0f8439aa71
commit
cf77354dce
11 changed files with 36 additions and 26 deletions
|
@ -231,12 +231,12 @@ HvpInitializeMemoryHive(
|
|||
SIZE_T ChunkSize;
|
||||
|
||||
ChunkSize = ChunkBase->Length;
|
||||
DPRINT("ChunkSize: %lx\n", ChunkSize);
|
||||
DPRINT("ChunkSize: %zx\n", ChunkSize);
|
||||
|
||||
if (ChunkSize < sizeof(HBASE_BLOCK) ||
|
||||
!HvpVerifyHiveHeader(ChunkBase))
|
||||
{
|
||||
DPRINT1("Registry is corrupt: ChunkSize %lu < sizeof(HBASE_BLOCK) %lu, "
|
||||
DPRINT1("Registry is corrupt: ChunkSize 0x%zx < sizeof(HBASE_BLOCK) 0x%zx, "
|
||||
"or HvpVerifyHiveHeader() failed\n", ChunkSize, sizeof(HBASE_BLOCK));
|
||||
return STATUS_REGISTRY_CORRUPT;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue