summaryrefslogtreecommitdiff
path: root/fdisk
diff options
context:
space:
mode:
Diffstat (limited to 'fdisk')
-rw-r--r--fdisk/fdisk.c2
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;