From: François Revol Date: Mon, 26 Jul 2010 09:37:19 +0000 (+0200) Subject: fdisk: fix use of non portable type X-Git-Tag: v2.19-rc1~400 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d063af060490747fa492d35cb8f446c7ed8a0ba3;p=thirdparty%2Futil-linux.git 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 8713f13533..6572c51dd6 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;