summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2012-01-30 19:06:17 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2012-01-30 19:06:17 +0000
commit94753eb940984221364e4e43bf3023c17f0ad1f9 (patch)
tree86b2c1036c33ecd9aa11402ed7beef8c0b489bef /ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c
parent803936cc301be6f3793cf4c5989e5101ccdec92d (diff)
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
Diffstat (limited to 'ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c')
-rw-r--r--ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c b/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c
index 81d738964..921ebe548 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);