diff options
author | François Revol <revol@free.fr> | 2010-07-26 11:37:19 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2010-07-26 11:37:19 +0200 |
commit | d063af060490747fa492d35cb8f446c7ed8a0ba3 (patch) | |
tree | 2e77bf718791f8636f9d5a9a186672b1cfbaa706 /fdisk | |
parent | 791a2fd67c118c3f07141e4cc95532fe908015a9 (diff) | |
download | util-linux-old-d063af060490747fa492d35cb8f446c7ed8a0ba3.tar.gz |
fdisk: fix use of non portable type
Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk')
-rw-r--r-- | fdisk/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |