mu_plus
mu_plus copied to clipboard
AdvLoggerPkg/AdvLoggerMmAccessLib: Fix cast conversion compiler error
Description
Commit fd357a1 introduced a conversion cast that produces the following VS(2019) build error:
AdvLoggerPkg\Library\AdvLoggerMmAccessLib\AdvLoggerMmAccessLib.c(100):
'type cast': conversion from 'unsigned int' to 'void *' of greater size
This change casts the integer to UINTN before casting to a pointer.
- [ ] Breaking change?
- Will this change break pre-existing builds or functionality without action being taken? No
How This Was Tested
Verified change resolves build error.
Integration Instructions
N/A
Signed-off-by: Michael Kubacki [email protected]