diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-08-11 11:18:34 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-08-11 11:19:29 +0800 |
commit | f8daac8121e66c46d3374f63f80308a777c2a2e7 (patch) | |
tree | 11f98e651f9a5809ec4d1a09bfe9d8dbeaf9beac /ShellPkg | |
parent | 76c6f69ccadc7835c9616b077d9ff1b8e46fe49e (diff) | |
download | edk2-f8daac8121e66c46d3374f63f80308a777c2a2e7.zip edk2-f8daac8121e66c46d3374f63f80308a777c2a2e7.tar.gz edk2-f8daac8121e66c46d3374f63f80308a777c2a2e7.tar.bz2 |
ShellPkg/drivers: Fix GCC build failure
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c b/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c index 4d876bb..26b785c 100644 --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c @@ -216,7 +216,7 @@ GetImageNameFromHandle ( Status = gBS->HandleProtocol (
LoadedImage->DeviceHandle,
&gEfiFirmwareVolume2ProtocolGuid,
- &Fv2
+ (VOID **)&Fv2
);
if (!EFI_ERROR (Status)) {
Status = Fv2->ReadSection (
|