]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Remove warnings from nfs_mntent.c
authorSteve Dickson <steved@redhat.com>
Mon, 19 Jul 2010 16:34:14 +0000 (12:34 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 9 Aug 2010 13:57:02 +0000 (09:57 -0400)
nfs_mntent.c: In function 'mangle':
nfs_mntent.c:36: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
support/nfs/nfs_mntent.c

index a3fecfc05d8604c9334300c9a1a48fe0102d0a2c..9c73ae0b703d4a7156163128692f6f00ec435d0b 100644 (file)
@@ -28,7 +28,7 @@ static char *
 mangle(const char *arg) {
        const unsigned char *s = (const unsigned char *)arg;
        char *ss, *sp;
-       int n;
+       unsigned int n;
 
        n = strlen(arg);
        ss = sp = xmalloc(4*n+1);