diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-11-29 13:00:20 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-12-05 09:03:17 +0100 |
commit | 93afbd1595cce37b0502d3d27f7411d94292f4d6 (patch) | |
tree | 8986434ec81769f54ffb41d7905f3c57f865ac0a /BaseTools/Source/Python/Common/ToolDefClassObject.py | |
parent | 64ab2c82e8f61e881eb16849e1b188361b00c4a7 (diff) | |
download | edk2-93afbd1595cce37b0502d3d27f7411d94292f4d6.tar.gz edk2-93afbd1595cce37b0502d3d27f7411d94292f4d6.tar.bz2 edk2-93afbd1595cce37b0502d3d27f7411d94292f4d6.zip |
BaseTools/CommonLib: avoid using 'native' word size in IP address handling
In the context of the BaseTools, there is no such thing as a native word
size, given that the same set of tools may be used to build a firmware
image consisting of both 32-bit and 64-bit modules.
So update StrToIpv4Address() and StrToIpv6Address() to use UINT64
types instead of UINTN types when parsing strings.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
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