mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
152ac48945
commit
3f318fbf87
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue