From 96de7383220ea6ab308fab421f54001b297444ca Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 4 Jun 2015 19:24:40 +0100 Subject: [PATCH] mbr: correct typing --- Kernel/dev/mbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/dev/mbr.c b/Kernel/dev/mbr.c index 83b69392..0b6b8f5c 100644 --- a/Kernel/dev/mbr.c +++ b/Kernel/dev/mbr.c @@ -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 -- 2.34.1