hv: Enable the compiler warning as error for HV

Fix the compiler warning and turn on the flag to make
compiler warning as compiler error.

Tracked-On: #1343
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yin Fengwei
2018-09-20 02:46:09 +00:00
committed by lijinxia
parent 2111fcffa5
commit 6bcfa1520b
4 changed files with 7 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ void *get_rsdp_from_uefi(void)
if (!efi_initialized)
efi_init();
return hpa2hva(efi_ctx->rsdp);
return hpa2hva((uint64_t)efi_ctx->rsdp);
}
void *get_ap_trampoline_buf(void)