Author: cfinck
Date: Tue Sep 4 20:05:44 2007
New Revision: 28851
URL:
http://svn.reactos.org/svn/reactos?rev=28851&view=rev
Log:
Silence two warnings in cmlib.
This makes the livecd part compiling warning-free on 32-bit systems. On 64-bit hosts, we
still need to squash out this __cdecl warning.
Modified:
trunk/reactos/lib/cmlib/hiveinit.c
Modified: trunk/reactos/lib/cmlib/hiveinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/hiveinit.c?rev=2…
==============================================================================
--- trunk/reactos/lib/cmlib/hiveinit.c (original)
+++ trunk/reactos/lib/cmlib/hiveinit.c Tue Sep 4 20:05:44 2007
@@ -156,8 +156,8 @@
if (ChunkSize < sizeof(HBASE_BLOCK) ||
!HvpVerifyHiveHeader((PHBASE_BLOCK)ChunkBase))
{
- DPRINT1("Registry is corrupt: ChunkSize %d < sizeof(HBASE_BLOCK) %d,
"
- "or HvpVerifyHiveHeader() failed\n", ChunkSize,
sizeof(HBASE_BLOCK));
+ DPRINT1("Registry is corrupt: ChunkSize %lu < sizeof(HBASE_BLOCK) %lu,
"
+ "or HvpVerifyHiveHeader() failed\n", ChunkSize,
(SIZE_T)sizeof(HBASE_BLOCK));
return STATUS_REGISTRY_CORRUPT;
}