diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-08 11:12:57 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2016-03-08 11:12:57 +0800 |
commit | 8244e1977689df34898e20dac83f736c3f3e0e90 (patch) | |
tree | 29b0781f65682910122602bdfe38bc4c55c0f070 /ShellPkg/Include/Guid/ShellLibHiiGuid.h | |
parent | e968e800ce8f1a2b34c155155106912ca8da16f0 (diff) | |
download | edk2-8244e1977689df34898e20dac83f736c3f3e0e90.zip edk2-8244e1977689df34898e20dac83f736c3f3e0e90.tar.gz edk2-8244e1977689df34898e20dac83f736c3f3e0e90.tar.bz2 |
NetworkPkg: HttpBootDxe: fix gcc build failure.
Commit fa848a404894 ("NetworkPkg: Add URI configuration form to HTTP boot
driver") causes the build to fail with gcc:
> NetworkPkg/HttpBootDxe/HttpBootConfig.c: In function
> 'HttpBootAddBootOption':
> NetworkPkg/HttpBootDxe/HttpBootConfig.c:148:14:
> error: passing argument 3 of 'GetVariable2' from incompatible pointer
> type [-Werror]
> );
> ^
> In file included from NetworkPkg/HttpBootDxe/HttpBootDxe.h:31:0,
> from NetworkPkg/HttpBootDxe/HttpBootConfig.c:15:
> MdePkg/Include/Library/UefiLib.h:708:1: note: expected 'void **' but
> argument is of type 'CHAR16 **'
> GetVariable2 (
> ^
> cc1: all warnings being treated as errors
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'ShellPkg/Include/Guid/ShellLibHiiGuid.h')
0 files changed, 0 insertions, 0 deletions