mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
[CMLIB]
Fix build (and warnings) svn path=/trunk/; revision=63513
This commit is contained in:
parent
4289bcee64
commit
4a7d9e2a5c
1 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@ HvpWriteLog(
|
||||||
PHHIVE RegistryHive)
|
PHHIVE RegistryHive)
|
||||||
{
|
{
|
||||||
ULONG FileOffset;
|
ULONG FileOffset;
|
||||||
UINT BufferSize;
|
UINT32 BufferSize;
|
||||||
UINT BitmapSize;
|
UINT32 BitmapSize;
|
||||||
PUCHAR Buffer;
|
PUCHAR Buffer;
|
||||||
PUCHAR Ptr;
|
PUCHAR Ptr;
|
||||||
ULONG BlockIndex;
|
ULONG BlockIndex;
|
||||||
|
@ -42,7 +42,7 @@ HvpWriteLog(
|
||||||
BufferSize = HV_LOG_HEADER_SIZE + sizeof(ULONG) + BitmapSize;
|
BufferSize = HV_LOG_HEADER_SIZE + sizeof(ULONG) + BitmapSize;
|
||||||
BufferSize = ROUND_UP(BufferSize, HV_BLOCK_SIZE);
|
BufferSize = ROUND_UP(BufferSize, HV_BLOCK_SIZE);
|
||||||
|
|
||||||
DPRINT("Bitmap size %lu buffer size: %lu\n", BitmapSize, BufferSize);
|
DPRINT("Bitmap size %u buffer size: %u\n", BitmapSize, BufferSize);
|
||||||
|
|
||||||
Buffer = RegistryHive->Allocate(BufferSize, TRUE, TAG_CM);
|
Buffer = RegistryHive->Allocate(BufferSize, TRUE, TAG_CM);
|
||||||
if (Buffer == NULL)
|
if (Buffer == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue