Blame SOURCES/0208-Fix-another-coverity-gripe-about-a-missing-typecast.patch

27a4da
From 5cebfafb919ac5496ab9df734c8f33a6dc688a21 Mon Sep 17 00:00:00 2001
23d2ea
From: Peter Jones <pjones@redhat.com>
23d2ea
Date: Tue, 12 Jul 2016 10:23:42 -0400
27a4da
Subject: [PATCH 208/260] Fix another coverity gripe about a missing typecast.
23d2ea
23d2ea
Related: rhbz#1154226
23d2ea
23d2ea
Signed-off-by: Peter Jones <pjones@redhat.com>
23d2ea
---
23d2ea
 grub-core/net/drivers/efi/efinet.c | 7 +++----
23d2ea
 1 file changed, 3 insertions(+), 4 deletions(-)
23d2ea
23d2ea
diff --git a/grub-core/net/drivers/efi/efinet.c b/grub-core/net/drivers/efi/efinet.c
27a4da
index 2244f1403..69b0fc7a8 100644
23d2ea
--- a/grub-core/net/drivers/efi/efinet.c
23d2ea
+++ b/grub-core/net/drivers/efi/efinet.c
27a4da
@@ -415,10 +415,9 @@ grub_efi_net_config_real (grub_efi_handle_t hnd, char **device,
23d2ea
 		     card->efi_net->mode->current_address,
23d2ea
 		     sizeof (hwaddr.mac));
23d2ea
 
23d2ea
-	intf = grub_net_configure_by_dhcpv6_ack (card->name, card, 0,
23d2ea
-						 &hwaddr,
23d2ea
-						 &pxe_mode->dhcp_ack.dhcpv6,
23d2ea
-						 1, device, path);
23d2ea
+	intf = grub_net_configure_by_dhcpv6_ack (card->name, card, 0, &hwaddr,
23d2ea
+	      (const struct grub_net_dhcpv6_packet *)&pxe_mode->dhcp_ack.dhcpv6,
23d2ea
+	      1, device, path);
23d2ea
 	if (intf && device && path)
23d2ea
 	  grub_dprintf ("efinet", "device: `%s' path: `%s'\n", *device, *path);
23d2ea
       }
23d2ea
-- 
27a4da
2.13.0
23d2ea