mirror of https://github.com/acidanthera/audk.git
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:
parent
803936cc30
commit
94753eb940
|
@ -948,7 +948,7 @@ BcfgAddOptDebug1(
|
||||||
ShellStatus = SHELL_OUT_OF_RESOURCES;
|
ShellStatus = SHELL_OUT_OF_RESOURCES;
|
||||||
}
|
}
|
||||||
if (ShellStatus == SHELL_SUCCESS) {
|
if (ShellStatus == SHELL_SUCCESS) {
|
||||||
ShellStatus = ShellReadFile(FileHandle, &((UINTN)Intermediate), Data);
|
ShellStatus = ShellReadFile(FileHandle, (UINTN *)&Intermediate, Data);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Intermediate = StrSize(Data);
|
Intermediate = StrSize(Data);
|
||||||
|
|
|
@ -948,7 +948,7 @@ BcfgAddOptInstall1(
|
||||||
ShellStatus = SHELL_OUT_OF_RESOURCES;
|
ShellStatus = SHELL_OUT_OF_RESOURCES;
|
||||||
}
|
}
|
||||||
if (ShellStatus == SHELL_SUCCESS) {
|
if (ShellStatus == SHELL_SUCCESS) {
|
||||||
ShellStatus = ShellReadFile(FileHandle, &((UINTN)Intermediate), Data);
|
ShellStatus = ShellReadFile(FileHandle, (UINTN *)&Intermediate, Data);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Intermediate = StrSize(Data);
|
Intermediate = StrSize(Data);
|
||||||
|
|
Loading…
Reference in New Issue