diff options
| author | Sunil Dora <sunilkumar.dora@windriver.com> | 2026-08-30 08:39:51 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-08 07:05:18 +0300 |
| commit | a4610f9cfef179f2013156da9768039f52519f04 (patch) | |
| tree | ffa35c69cda2b53e4a28276e625817f8a92798b3 /BaseTools/Source/Python/Workspace/MetaFileParser.py | |
| parent | 2485aee40c6b8c8ea535500b56da684c9e63c178 (diff) | |
| download | edk2-a4610f9cfef179f2013156da9768039f52519f04.tar.xz | |
CryptoPkg: Fix memcpy alias prototype to match the aliasee
The memcpy alias in IntrinsicLib declares its count parameter as
unsigned int while the aliasee __memcpy uses size_t. On 64-bit targets
these are different widths. clang 23 diagnoses this through
-Wattribute-alias:
CopyMem.c:29:17: warning: alias and aliasee have different types
'void *(void *, const void *, unsigned int)' and
'void *(void *, const void *, size_t)' [-Wattribute-alias]
and builds that treat warnings as errors fail, e.g. OVMF built with
the CLANGDWARF toolchain in Yocto.
Declare the alias with size_t so both signatures agree.
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions
