The DOS_MCB structure needs to be byte-aligned.


svn path=/trunk/; revision=67233
This commit is contained in:
Aleksandar Andrejevic 2015-04-17 21:59:41 +00:00
parent a80d5b8e9d
commit e9b43f93b7

View file

@ -18,6 +18,7 @@ enum DOS_ALLOC_STRATEGY
DOS_ALLOC_LAST_FIT
};
#pragma pack(push, 1)
typedef struct _DOS_MCB
{
CHAR BlockType;
@ -26,6 +27,7 @@ typedef struct _DOS_MCB
BYTE Unused[3];
CHAR Name[8];
} DOS_MCB, *PDOS_MCB;
#pragma pack(pop)
/* VARIABLES ******************************************************************/