AMD F15: Fix warning in Proc/CPU/Feature
Fix Warning: cpuFeatureLeveling.c:265, GNU Compiler 4 (gcc), Priority: Normal cast to pointer from integer of different size [-Wint-to-pointer-cast] with an intermediate cast to (intptr_t) Change-Id: I3bfd2ea1e797632316675338789dabef8f73ba64 Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3126 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Dave Frodin <dave.frodin@se-eng.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
8187f3d32c
commit
dfb0686f84
|
@ -262,5 +262,5 @@ GetGlobalCpuFeatureListAddress (
|
|||
|
||||
AddressValue = GLOBAL_CPU_FEATURE_LIST_TEMP_ADDR;
|
||||
|
||||
*Address = (UINT64 *)(AddressValue);
|
||||
*Address = (UINT64 *) (intptr_t) (AddressValue);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue