mu_plus icon indicating copy to clipboard operation
mu_plus copied to clipboard

AdvLoggerPkg/AdvLoggerMmAccessLib: Fix cast conversion compiler error

Open makubacki opened this issue 3 years ago • 0 comments

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]

makubacki avatar Oct 13 '22 02:10 makubacki