diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-01-30 19:06:17 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-01-30 19:06:17 +0000 |
commit | 94753eb940984221364e4e43bf3023c17f0ad1f9 (patch) | |
tree | 86b2c1036c33ecd9aa11402ed7beef8c0b489bef /ShellPkg | |
parent | 803936cc301be6f3793cf4c5989e5101ccdec92d (diff) | |
download | edk2-94753eb940984221364e4e43bf3023c17f0ad1f9.zip edk2-94753eb940984221364e4e43bf3023c17f0ad1f9.tar.gz edk2-94753eb940984221364e4e43bf3023c17f0ad1f9.tar.bz2 |
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')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c | 2 | ||||
-rw-r--r-- | ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c index fed3856..d6c3ef4 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Bcfg.c @@ -948,7 +948,7 @@ BcfgAddOptDebug1( 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);
diff --git a/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c b/ShellPkg/Library/UefiShellInstall1CommandsLib/Bcfg.c index 81d7389..921ebe5 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);
|