diff options
author | Laszlo Ersek <lersek@redhat.com> | 2019-09-13 19:33:38 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-10-09 09:40:10 +0200 |
commit | 812e3bade69b9584c6e6b8209b3ff95e79e0a31b (patch) | |
tree | bd158153dfe0fdfa5ef4a6c51e45bb4370c2da28 /BaseTools/Source/Python/CommonDataClass/Exceptions.py | |
parent | f662f91cb2c8f109816c24d91957f4d254245633 (diff) | |
download | edk2-812e3bade69b9584c6e6b8209b3ff95e79e0a31b.tar.gz edk2-812e3bade69b9584c6e6b8209b3ff95e79e0a31b.tar.bz2 edk2-812e3bade69b9584c6e6b8209b3ff95e79e0a31b.zip |
MdeModulePkg/S3SaveState: cast Position for S3BootScriptLib explicitly
The BootScriptInsert() and BootScriptLabel() functions take the in/out
parameter "Position" as (EFI_S3_BOOT_SCRIPT_POSITION*), and pass it to
S3BootScriptMoveLastOpcode() and S3BootScriptLabel(), respectively.
The callees take the in/out parameter "Position" as (VOID**). Add explicit
casts for clarity.
There is no change in functionality.
Cc: Dandan Bi <dandan.bi@intel.com>
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: Liming Gao <liming.gao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/Exceptions.py')
0 files changed, 0 insertions, 0 deletions