]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/nfsumount.c
nfsumount: Squelch compiler warning
[nfs-utils.git] / utils / mount / nfsumount.c
index b846564a331e41da2c178f2cf280b84eded197ab..3538d88036210ee4f00f6ae67b71f3af226c76a8 100644 (file)
@@ -161,7 +161,8 @@ static int nfs_umount_is_vers4(const struct mntentchn *mc)
                goto not_found;
 
        do {
                goto not_found;
 
        do {
-               int nlen = strlen(pmc->m.mnt_fsname);
+               size_t nlen = strlen(pmc->m.mnt_fsname);
+
                /*
                 * It's possible the mount location string in /proc/mounts
                 * ends with a '/'. In this case, if the entry came from
                /*
                 * It's possible the mount location string in /proc/mounts
                 * ends with a '/'. In this case, if the entry came from