Fix build (and warnings)
svn path=/trunk/; revision=63513
PHHIVE RegistryHive)
{
ULONG FileOffset;
PHHIVE RegistryHive)
{
ULONG FileOffset;
- UINT BufferSize;
- UINT BitmapSize;
+ UINT32 BufferSize;
+ UINT32 BitmapSize;
PUCHAR Buffer;
PUCHAR Ptr;
ULONG BlockIndex;
PUCHAR Buffer;
PUCHAR Ptr;
ULONG BlockIndex;
BufferSize = HV_LOG_HEADER_SIZE + sizeof(ULONG) + BitmapSize;
BufferSize = ROUND_UP(BufferSize, HV_BLOCK_SIZE);
BufferSize = HV_LOG_HEADER_SIZE + sizeof(ULONG) + BitmapSize;
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);
if (Buffer == NULL)
Buffer = RegistryHive->Allocate(BufferSize, TRUE, TAG_CM);
if (Buffer == NULL)