]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Application/LinuxLoader/LinuxConfig.c
ArmPkg: Fixed unsigned type to be architecture independent
[mirror_edk2.git] / ArmPkg / Application / LinuxLoader / LinuxConfig.c
index 10aadb7335f5e33f900ec855d77a0f5d61bf2559..c88dc65e9362ba7a91ddc6447d73617f0b0a175d 100644 (file)
@@ -189,7 +189,7 @@ LinuxLoaderConfig (
     Print (L"[%d] Update Linux Boot Entry\n",LINUX_LOADER_UPDATE);\r
 \r
     Print (L"Option: ");\r
-    Status = GetHIInputInteger (&Choice);\r
+    Status = GetHIInputInteger ((UINTN*)&Choice);\r
     if (Status == EFI_INVALID_PARAMETER) {\r
       Print (L"\n");\r
       return Status;\r
@@ -268,7 +268,7 @@ LinuxLoaderConfig (
 \r
       do {\r
         Print (L"Update Boot Entry: ");\r
-        Status = GetHIInputInteger (&Choice);\r
+        Status = GetHIInputInteger ((UINTN*)&Choice);\r
         if (Status == EFI_INVALID_PARAMETER) {\r
           Print (L"\n");\r
           return Status;\r