From aedf10aca918f52a2775ccd181080a3a768c8989 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Fri, 7 Oct 2005 02:22:04 +0000 Subject: [PATCH] In prmount(), use an unsigned int variable to eliminate 'comparison between signed and unsigned' compiler warning. --- sbin/mount/mount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index b9b620db662b..d2f90be6642c 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -499,7 +499,8 @@ mountfs(const char *vfstype, const char *spec, const char *name, int flags, void prmount(struct statfs *sfp) { - int flags, i; + int flags; + unsigned int i; struct opt *o; struct passwd *pw;