File add-explicit-typecast-to-avoid-gcc-warning.patch of Package iproute2

From: Michal Kubecek <mkubecek@suse.cz>
Date: Thu, 5 Dec 2013 13:18:34 +0100
Subject: add explicit typecast to avoid gcc warning
Patch-mainline: No

---
 lib/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/utils.c b/lib/utils.c
index ce91676..6d4c2e6 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -560,8 +560,8 @@ int matches(const char *cmd, const char *pattern)
 
 int inet_addr_match(const inet_prefix *a, const inet_prefix *b, int bits)
 {
-	const __u32 *a1 = a->data;
-	const __u32 *a2 = b->data;
+	const __u32 *a1 = (__u32*)a->data;
+	const __u32 *a2 = (__u32*)b->data;
 	int words = bits >> 0x05;
 
 	bits &= 0x1f;
-- 
1.8.1.4