From d063af060490747fa492d35cb8f446c7ed8a0ba3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 26 Jul 2010 11:37:19 +0200 Subject: [PATCH] fdisk: fix use of non portable type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: François Revol Signed-off-by: Karel Zak --- fdisk/fdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5