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

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