mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
445705369d
commit
eaa6aeba69
@ -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)
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user