From: François Revol Date: Mon, 26 Jul 2010 09:37:19 +0000 (+0200) Subject: fdisk: fix use of non portable type X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d063af060490747fa492d35cb8f446c7ed8a0ba3;p=util-linux fdisk: fix use of non portable type Signed-off-by: François Revol Signed-off-by: Karel Zak --- diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 8713f135..6572c51d 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -1801,7 +1801,7 @@ change_sysid(void) { * Lubkin Oct. 1991). */ static void -long2chs(ulong ls, unsigned int *c, unsigned int *h, unsigned int *s) { +long2chs(unsigned long ls, unsigned int *c, unsigned int *h, unsigned int *s) { int spc = heads * sectors; *c = ls / spc;