]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c
Fix clang compiler warning.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / Bcfg.c
index fed38564e93c3941cd7ed9f974cf9727ba2266d3..d6c3ef4e1536f3850ba7f0b64a7d6709cfeabaae 100644 (file)
@@ -948,7 +948,7 @@ BcfgAddOptDebug1(
         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