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

28f7f8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
23d2ea
From: Peter Jones <pjones@redhat.com>
23d2ea
Date: Tue, 12 Jul 2016 10:23:42 -0400
28f7f8
Subject: [PATCH] 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
28f7f8
index 2244f14030f..69b0fc7a8fe 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
       }