]> git.proxmox.com Git - mirror_edk2.git/commit - EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.c
EmbeddedPkg: fix gcc build errors in AndroidBootImgLib
authorLeif Lindholm <leif@nuviainc.com>
Tue, 21 Jul 2020 12:50:56 +0000 (13:50 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 23 Jul 2020 12:05:44 +0000 (12:05 +0000)
commite43d0884ed93ffd8044e48e8d5d2d010a46aab33
tree8dadca3547c850adc8358274fe4b249daff8809f
parent7ff0459739cd164592638fddfa2621a3b7c2ad2e
EmbeddedPkg: fix gcc build errors in AndroidBootImgLib

Commit dbd546a32d5a
("BaseTools: Add gcc flag to warn on void* pointer arithmetic")
does its work and triggers build errors in this library.
Update the affected code to build correctly again.

Cc: Pierre Gondois <pierre.gondois@arm.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Bob Feng<bob.c.feng@intel.com>
Reported-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.c