summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/ToolDefClassObject.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-11-29 13:13:32 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-12-05 09:03:23 +0100
commit76e5f493d20cbe521dccb0c184012f0336ffd323 (patch)
tree50e82816ebf8edb686333d09f70f055c2c872d0e /BaseTools/Source/Python/Common/ToolDefClassObject.py
parent93afbd1595cce37b0502d3d27f7411d94292f4d6 (diff)
downloadedk2-76e5f493d20cbe521dccb0c184012f0336ffd323.tar.gz
edk2-76e5f493d20cbe521dccb0c184012f0336ffd323.tar.bz2
edk2-76e5f493d20cbe521dccb0c184012f0336ffd323.zip
BaseTools/CommonLib: use explicit 64-bit type in Strtoi()
Don't use the native word size string to number parsing routines, but instead, use the 64-bit one and cast to UINTN. Currently, the only user is in Source/C/DevicePath/DevicePathFromText.c which takes care to use Strtoi64 () unless it assumes the value fits in 32-bit, so this change is a no-op even on 32-bit build hosts. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/ToolDefClassObject.py')
0 files changed, 0 insertions, 0 deletions