diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2019-07-09 15:58:37 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-29 16:53:35 +0000 |
commit | d39271f114f035bb0a6ccf404c64f9131a9e45d8 (patch) | |
tree | d56fe7dc826a4d04952d6bf553e42e4da1904290 /BaseTools/Source/Python/CommonDataClass/CommonClass.py | |
parent | 90e52483bf572fd6d15bdfa5e0904ed0aa8b4199 (diff) | |
download | edk2-d39271f114f035bb0a6ccf404c64f9131a9e45d8.tar.gz edk2-d39271f114f035bb0a6ccf404c64f9131a9e45d8.tar.bz2 edk2-d39271f114f035bb0a6ccf404c64f9131a9e45d8.zip |
DynamicTablesPkg: Fix unaligned pointers usage
The VS2017 compiler reports 'warning C4366: The result of
the unary '&' operator may be unaligned' if an address of
an unaligned structure member is passed as an argument to
a function.
Fix this warning by using local variables in place of
unaligned structure members.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/CommonClass.py')
0 files changed, 0 insertions, 0 deletions