diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2023-03-27 16:02:07 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-01 03:15:51 +0000 |
commit | 54051768cdf69e2b46dc4fe1a85455d631aa2634 (patch) | |
tree | cfcb3ace840ea3ff6f44c07f17063e5182c09e3b /BaseTools/Source/Python | |
parent | 71210053fafcca7ccfd180258263e737dbe09555 (diff) | |
download | edk2-54051768cdf69e2b46dc4fe1a85455d631aa2634.tar.gz edk2-54051768cdf69e2b46dc4fe1a85455d631aa2634.tar.bz2 edk2-54051768cdf69e2b46dc4fe1a85455d631aa2634.zip |
UefiCpuPkg/PiSmmCpuDxeSmm: fix format string
BufferPages is UINTN, so we need "%Lu" when printing it to avoid
it being truncated. Also cast to UINT64 to make sure it works
for 32bit builds too.
Fixes: 4f441d024bee ("UefiCpuPkg/PiSmmCpuDxeSmm: fix error handling")
Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions