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