mirror of https://github.com/acidanthera/audk.git
ICC Cleanup: add data typecast after arithemtics.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6593 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c44a5016b3
commit
6b6f745214
|
@ -203,7 +203,7 @@ CodeTypeToProgressCode (
|
|||
//
|
||||
if (((CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_PROGRESS_CODE)) {
|
||||
*PostCode = (UINT8) (((Value & EFI_STATUS_CODE_CLASS_MASK) >> 24) << 5);
|
||||
*PostCode |= (UINT8) (((Value & EFI_STATUS_CODE_SUBCLASS_MASK) >> 16) & 0x1f);
|
||||
*PostCode = (UINT8) (*PostCode | (UINT8) (((Value & EFI_STATUS_CODE_SUBCLASS_MASK) >> 16) & 0x1f));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue