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

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