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
InternalQemuFwCfgReadBytes (sizeof (FName), FName);\r
\r
if (AsciiStrCmp (Name, FName) == 0) {\r
- *Item = SwapBytes16 (FileSelect);\r
+ *Item = (FIRMWARE_CONFIG_ITEM) SwapBytes16 (FileSelect);\r
*Size = SwapBytes32 (FileSize);\r
return RETURN_SUCCESS;\r
}\r