]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
MdeModulePkg/UefiBootManagerLib: Remove redundant type cast
authorHao Wu <hao.a.wu@intel.com>
Thu, 17 Nov 2016 08:25:32 +0000 (16:25 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 12 Jan 2017 13:26:28 +0000 (21:26 +0800)
commit51dee9a4b411573687c85be075c012859486d96f
tree1cba588915357cbcc4dd926b66e3721db0457f92
parent6dee8f78f2ac07d7de99b13630a0aa0613d888de
MdeModulePkg/UefiBootManagerLib: Remove redundant type cast

The type of return value for function EfiBootManagerFindLoadOption() is
INTN. When checking its return value, it is unnecessary to type cast -1 to
type UINTN.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c