Make the PCD database compilable on X64 platform.

We need to add a (UINTN) cast before casting the address to UINT32 type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@449 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2006-06-09 03:10:22 +00:00
parent 445705369d
commit eaa6aeba69
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ typedef struct {
UINT16 Size;
} SIZEINFO;
#define offsetof(s,m) (UINT32)&(((s *)0)->m)
#define offsetof(s,m) (UINT32) (UINTN) &(((s *)0)->m)