Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: dcf2e39dce00a5978f1c1a53a0fce04d0fdc9a3c
https://github.com/tianocore/edk2/commit/dcf2e39dce00a5978f1c1a53a0fce04d0fdc9a3c
Author: Jayaprakash N <[email protected]>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
M EmbeddedPkg/Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c
Log Message:
-----------
EmbeddedPkg: compiler error due to arithmetic operation on void pointer
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4668
This commit fixes the issue reported in the BZ4668.
The EmbeddedPkg fails to compile with a compiler error
generated due to invalid/illegal arithmetic operation
on void pointers. It has been fixed by using explicit
type conversion of the void pointer to UINTN.
Cc: Rebecca Cran <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Jayaprakash N <[email protected]>
Signed-off-by: Jayaprakash N <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Acked-by: Michael D Kinney <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits