mirror of
https://github.com/reactos/reactos.git
synced 2025-04-30 02:58:48 +00:00
[CMLIB] Fix 64-bit build. Addendum to 93d8a1b7b
.
Thanks to Hervé Poussineau for help.
This commit is contained in:
parent
a355e8ad27
commit
168fea0eee
1 changed files with 6 additions and 1 deletions
|
@ -77,7 +77,7 @@
|
||||||
* the other bits specify index into the hive file. The value HCELL_NULL
|
* the other bits specify index into the hive file. The value HCELL_NULL
|
||||||
* (-1) is reserved for marking invalid cells.
|
* (-1) is reserved for marking invalid cells.
|
||||||
*/
|
*/
|
||||||
typedef ULONG HCELL_INDEX, *PHCELL_INDEX;
|
typedef ULONG_PTR HCELL_INDEX, *PHCELL_INDEX;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Cell Magic Values
|
// Cell Magic Values
|
||||||
|
@ -152,7 +152,11 @@ typedef struct _HBASE_BLOCK
|
||||||
of the full name of the hive file */
|
of the full name of the hive file */
|
||||||
WCHAR FileName[HIVE_FILENAME_MAXLEN + 1];
|
WCHAR FileName[HIVE_FILENAME_MAXLEN + 1];
|
||||||
|
|
||||||
|
#ifdef _WIN64
|
||||||
|
ULONG Reserved1[98];
|
||||||
|
#else
|
||||||
ULONG Reserved1[99];
|
ULONG Reserved1[99];
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Checksum of first 0x200 bytes */
|
/* Checksum of first 0x200 bytes */
|
||||||
ULONG CheckSum;
|
ULONG CheckSum;
|
||||||
|
@ -163,6 +167,7 @@ typedef struct _HBASE_BLOCK
|
||||||
} HBASE_BLOCK, *PHBASE_BLOCK;
|
} HBASE_BLOCK, *PHBASE_BLOCK;
|
||||||
|
|
||||||
C_ASSERT(sizeof(HBASE_BLOCK) == HBLOCK_SIZE);
|
C_ASSERT(sizeof(HBASE_BLOCK) == HBLOCK_SIZE);
|
||||||
|
C_ASSERT(FIELD_OFFSET(HBASE_BLOCK, CheckSum) == 0x200 - sizeof(ULONG));
|
||||||
|
|
||||||
typedef struct _HBIN
|
typedef struct _HBIN
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue