From e7413a9cde8da7a54349a0641d0b1e7cbc0e290a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 14 Jul 2000 06:19:41 +0000 Subject: A couple of minor warning cleanups. -Erik --- util-linux/mount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util-linux/mount.c') diff --git a/util-linux/mount.c b/util-linux/mount.c index 455e4a1c1..addeb0925 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -203,7 +203,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype, /* Seperate standard mount options from the nonstandard string options */ static void -parse_mount_options(char *options, unsigned long *flags, char *strflags) +parse_mount_options(char *options, int *flags, char *strflags) { while (options) { int gotone = FALSE; @@ -342,7 +342,7 @@ extern int mount_main(int argc, char **argv) char string_flags_buf[1024] = ""; char *string_flags = string_flags_buf; char *extra_opts = string_flags_buf; - unsigned long flags = 0; + int flags = 0; char *filesystemType = "auto"; char *device = NULL; char *directory = NULL; -- cgit v1.2.3