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

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