diff options
-rw-r--r-- | drivers/block/floppy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 975fac3669c5..fd7085aa999f 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c | |||
@@ -3337,7 +3337,7 @@ static int set_geometry(unsigned int cmd, struct floppy_struct *g, | |||
3337 | } | 3337 | } |
3338 | 3338 | ||
3339 | /* handle obsolete ioctl's */ | 3339 | /* handle obsolete ioctl's */ |
3340 | static int ioctl_table[] = { | 3340 | static unsigned int ioctl_table[] = { |
3341 | FDCLRPRM, | 3341 | FDCLRPRM, |
3342 | FDSETPRM, | 3342 | FDSETPRM, |
3343 | FDDEFPRM, | 3343 | FDDEFPRM, |
@@ -3365,7 +3365,7 @@ static int ioctl_table[] = { | |||
3365 | FDTWADDLE | 3365 | FDTWADDLE |
3366 | }; | 3366 | }; |
3367 | 3367 | ||
3368 | static int normalize_ioctl(int *cmd, int *size) | 3368 | static int normalize_ioctl(unsigned int *cmd, int *size) |
3369 | { | 3369 | { |
3370 | int i; | 3370 | int i; |
3371 | 3371 | ||