summaryrefslogtreecommitdiffstats
path: root/fdisk/cfdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'fdisk/cfdisk.c')
-rw-r--r--fdisk/cfdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisk/cfdisk.c b/fdisk/cfdisk.c
index e60077663..69b8b9948 100644
--- a/fdisk/cfdisk.c
+++ b/fdisk/cfdisk.c
@@ -200,7 +200,7 @@ int sectors = 0;
int cylinders = 0;
int cylinder_size = 0; /* heads * sectors */
int total_size = 0; /* actual_size rounded down */
-long actual_size = 0; /* set using ioctl */
+unsigned long actual_size = 0; /* set using ioctl */
/* explicitly given user values */
int user_heads = 0, user_sectors = 0, user_cylinders = 0;
/* kernel values; ignore the cylinders */