From: Alan Cox Date: Thu, 4 Jun 2015 18:24:40 +0000 (+0100) Subject: mbr: correct typing X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=96de7383220ea6ab308fab421f54001b297444ca;p=FUZIX.git mbr: correct typing --- 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