summaryrefslogtreecommitdiffstats
path: root/edksetup.bat
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2019-09-13 00:29:43 +0200
committerLaszlo Ersek <lersek@redhat.com>2019-10-09 09:40:10 +0200
commitf662f91cb2c8f109816c24d91957f4d254245633 (patch)
tree7770918502f0244d2d177e5daac0e901d6470232 /edksetup.bat
parent9388c6b1c17af9c8a9f451a42c066b3ae7d81fda (diff)
downloadedk2-f662f91cb2c8f109816c24d91957f4d254245633.tar.gz
edk2-f662f91cb2c8f109816c24d91957f4d254245633.tar.bz2
edk2-f662f91cb2c8f109816c24d91957f4d254245633.zip
MdeModulePkg/PiSmmCore: make type punning consistent
The SmiHandlerRegister() function explicitly casts "SmiHandler" (of type (SMI_HANDLER*)) to EFI_HANDLE, when outputting "DispatchHandle". Apply the same cast in the counterpart function SmiHandlerUnRegister(), which compares multiple "SmiHandler"s against the input "DispatchHandle". This is a semantic cleanup; there is no functional change. Cc: Eric Dong <eric.dong@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'edksetup.bat')
0 files changed, 0 insertions, 0 deletions