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
This commit is contained in:
andrewfish 2012-01-30 19:06:17 +00:00
parent 803936cc30
commit 94753eb940
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);