diff options
author | Olivier Martin <olivier.martin@arm.com> | 2015-02-25 18:47:12 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-02-25 18:47:12 +0000 |
commit | 3f318fbf871c0d4c2e69f65322e3c334709ba35d (patch) | |
tree | bbc881b245dec5fd5b98352f8a5a1627ef568ee0 /ArmPlatformPkg/ArmVirtualizationPkg/Library | |
parent | 152ac48945db6f2ee3b2305a79c08a25ea89dfc9 (diff) | |
download | edk2-platforms-3f318fbf871c0d4c2e69f65322e3c334709ba35d.tar.xz |
ArmVirtualizationPkg/QemuFwCfgLib: Fixed build error
ARM toolchain raises the build error:
Error #188-D: enumerated type mixed with another type
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16927 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmVirtualizationPkg/Library')
-rw-r--r-- | ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c b/ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c index e9e96d7a8d..c62eee3be8 100644 --- a/ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c +++ b/ArmPlatformPkg/ArmVirtualizationPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c @@ -331,7 +331,7 @@ QemuFwCfgFindFile ( InternalQemuFwCfgReadBytes (sizeof (FName), FName);
if (AsciiStrCmp (Name, FName) == 0) {
- *Item = SwapBytes16 (FileSelect);
+ *Item = (FIRMWARE_CONFIG_ITEM) SwapBytes16 (FileSelect);
*Size = SwapBytes32 (FileSize);
return RETURN_SUCCESS;
}
|