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 a3fecfc..9c73ae0 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);