mbr: correct typing
authorAlan Cox <alan@linux.intel.com>
Thu, 4 Jun 2015 18:24:40 +0000 (19:24 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 4 Jun 2015 18:24:40 +0000 (19:24 +0100)
Kernel/dev/mbr.c

index 83b6939..0b6b8f5 100644 (file)
@@ -73,7 +73,7 @@ void mbr_parse(char letter)
                        break;
                    /* we include all primary partitions but we deliberately knobble the size in 
                       order to prevent catastrophic accidents */
-                   br->partition[i].lba_count = cpu_to_le32(2);
+                   br->partition[i].lba_count = cpu_to_le32(2L);
                    /* fall through */
                default:
                    /* Regular partition: In EBRs these are relative to the EBR (not the disk, nor