Blame SOURCES/0063-RH-fix-warning.patch

4728c8
---
4728c8
 kpartx/dasd.c |    4 +++-
4728c8
 1 file changed, 3 insertions(+), 1 deletion(-)
4728c8
4728c8
Index: multipath-tools-130222/kpartx/dasd.c
4728c8
===================================================================
4728c8
--- multipath-tools-130222.orig/kpartx/dasd.c
4728c8
+++ multipath-tools-130222/kpartx/dasd.c
4728c8
@@ -46,6 +46,8 @@ unsigned long long sectors512(unsigned l
4728c8
 	return sectors * (blocksize >> 9);
4728c8
 }
4728c8
 
4728c8
+typedef unsigned int __attribute__((__may_alias__)) label_ints_t;
4728c8
+
4728c8
 /*
4728c8
  */
4728c8
 int 
4728c8
@@ -169,7 +171,7 @@ read_dasd_pt(int fd, struct slice all, s
4728c8
 		/*
4728c8
 		 * VM style CMS1 labeled disk
4728c8
 		 */
4728c8
-		unsigned int *label = (unsigned int *) &vlabel;
4728c8
+		label_ints_t *label = (label_ints_t *) &vlabel;
4728c8
 
4728c8
 		blocksize = label[4];
4728c8
 		if (label[14] != 0) {