Author: tkreuzer
Date: Sat May 31 15:34:21 2014
New Revision: 63513
URL:
http://svn.reactos.org/svn/reactos?rev=63513&view=rev
Log:
[CMLIB]
Fix build (and warnings)
Modified:
trunk/reactos/lib/cmlib/hivewrt.c
Modified: trunk/reactos/lib/cmlib/hivewrt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/hivewrt.c?rev=63…
==============================================================================
--- trunk/reactos/lib/cmlib/hivewrt.c [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/hivewrt.c [iso-8859-1] Sat May 31 15:34:21 2014
@@ -14,8 +14,8 @@
PHHIVE RegistryHive)
{
ULONG FileOffset;
- UINT BufferSize;
- UINT BitmapSize;
+ UINT32 BufferSize;
+ UINT32 BitmapSize;
PUCHAR Buffer;
PUCHAR Ptr;
ULONG BlockIndex;
@@ -42,7 +42,7 @@
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)