]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c
Fix clang compiler warning.
[mirror_edk2.git] / ShellPkg / Library / UefiShellInstall1CommandsLib / Bcfg.c
index 81d738964ea8f691170dd43e32d20c3ea6ad3320..921ebe5485216f7e2e9fab5fcb4c0eb571242bae 100644 (file)
@@ -948,7 +948,7 @@ BcfgAddOptInstall1(
         ShellStatus = SHELL_OUT_OF_RESOURCES;\r
       }\r
       if (ShellStatus == SHELL_SUCCESS) {\r
-        ShellStatus = ShellReadFile(FileHandle, &((UINTN)Intermediate), Data);\r
+        ShellStatus = ShellReadFile(FileHandle, (UINTN *)&Intermediate, Data);\r
       }\r
     } else {\r
       Intermediate = StrSize(Data);\r