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

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