ArmPkg/ArmStandaloneMmCoreEntryPoint: Fix cast on clang

Compilation error:

```
ArmStandaloneMmCoreEntryPoint.c:1041:48: error: cast to smaller
  integer type 'unsigned long' from 'void *'
  [-Werror,-Wvoid-pointer-to-int-cast]

  1041 |   DEBUG ((DEBUG_INFO, "Start Dump Hob: %lx\n",
             (unsigned long)HobStart));
```

The `%p` specifer is now used to print the pointers.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
Michael Kubacki
2025-02-12 19:37:34 -05:00
committed by mergify[bot]
parent 3e7e3e2467
commit 2625e91963

View File

@@ -1038,9 +1038,9 @@ CEntryPoint (
goto finish;
}
DEBUG ((DEBUG_INFO, "Start Dump Hob: %lx\n", (unsigned long)HobStart));
DEBUG ((DEBUG_INFO, "Start Dump Hob: %p\n", HobStart));
DumpPhitHob (HobStart);
DEBUG ((DEBUG_INFO, "End Dump Hob: %lx\n", (unsigned long)HobStart));
DEBUG ((DEBUG_INFO, "End Dump Hob: %p\n", HobStart));
FvHob = GetNextHob (EFI_HOB_TYPE_FV, HobStart);
if (FvHob == NULL) {