Make MDE package pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2312 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -32,8 +32,11 @@ SwapBytes32 (
|
||||
IN UINT32 Operand
|
||||
)
|
||||
{
|
||||
return (UINT32)(
|
||||
((UINT32)SwapBytes16 ((UINT16)Operand) << 16) |
|
||||
((UINT32)SwapBytes16 ((UINT16)(Operand >> 16)))
|
||||
);
|
||||
UINT32 LowerBytes;
|
||||
UINT32 HigherBytes;
|
||||
|
||||
LowerBytes = (UINT32) SwapBytes16 ((UINT16) Operand);
|
||||
HigherBytes = (UINT32) SwapBytes16 ((UINT16) (Operand >> 16));
|
||||
|
||||
return (LowerBytes << 16 | HigherBytes);
|
||||
}
|
||||
|
Reference in New Issue
Block a user