From 94753eb940984221364e4e43bf3023c17f0ad1f9 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Mon, 30 Jan 2012 19:06:17 +0000 Subject: Fix clang compiler warning. signed-off-by:andewfish reviewed-by:jcarsey git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12968 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ShellPkg/Library/UefiShellInstall1CommandsLib') diff --git a/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c b/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c index 81d738964e..921ebe5485 100644 --- a/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c +++ b/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c @@ -948,7 +948,7 @@ BcfgAddOptInstall1( ShellStatus = SHELL_OUT_OF_RESOURCES; } if (ShellStatus == SHELL_SUCCESS) { - ShellStatus = ShellReadFile(FileHandle, &((UINTN)Intermediate), Data); + ShellStatus = ShellReadFile(FileHandle, (UINTN *)&Intermediate, Data); } } else { Intermediate = StrSize(Data); -- cgit v1.2.3