]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BaseLib/String.c
MdePkg/BaseLib: Change a variable type in a bitwise operation
authorShenglei Zhang <shenglei.zhang@intel.com>
Thu, 14 Feb 2019 02:43:10 +0000 (10:43 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 19 Feb 2019 08:15:15 +0000 (16:15 +0800)
commite5bc83f5e7a6c5f48dc10e69fca377d1478fc4dc
tree62d43155df5894a979603a2e5482313e419e2177
parentc2cf8720a5aad74230767a1f11bade2d86de3745
MdePkg/BaseLib: Change a variable type in a bitwise operation

Change the type of variable Chr from CHAR8 to UINT32 in a
bitwise operation, to make the two variables in the operation
have the same size.
https://bugzilla.tianocore.org/show_bug.cgi?id=1527

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Library/BaseLib/String.c