mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/UdfDxe: Fix operands of different size in bitwise OP
Cc: Paulo Alcantara <pcacjr@zytor.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Paulo Alcantara <pcacjr@zytor.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
parent
3fa40d588a
commit
fedec0a38e
|
@ -806,7 +806,7 @@ UdfGetInfo (
|
|||
}
|
||||
|
||||
if (Index < 128) {
|
||||
*String |= *(UINT8 *)(OstaCompressed + Index);
|
||||
*String |= (CHAR16)(*(UINT8 *)(OstaCompressed + Index));
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -1782,7 +1782,7 @@ GetFileNameFromFid (
|
|||
}
|
||||
|
||||
if (Index < Length) {
|
||||
*FileName |= OstaCompressed[Index];
|
||||
*FileName |= (CHAR16)(OstaCompressed[Index]);
|
||||
}
|
||||
|
||||
FileName++;
|
||||
|
@ -1918,7 +1918,7 @@ ResolveSymlink (
|
|||
}
|
||||
|
||||
if (Index < Length) {
|
||||
*C |= *(UINT8 *)((UINT8 *)PathComp->ComponentIdentifier + Index);
|
||||
*C |= (CHAR16)(*(UINT8 *)((UINT8 *)PathComp->ComponentIdentifier + Index));
|
||||
}
|
||||
|
||||
C++;
|
||||
|
|
Loading…
Reference in New Issue