From: Steve Dickson Date: Mon, 19 Jul 2010 16:34:14 +0000 (-0400) Subject: Remove warnings from nfs_mntent.c X-Git-Tag: nfs-utils-1-2-3-rc5~19 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=8810c9dd5b66a097a235e6eabd399739a44df63e;p=nfs-utils.git Remove warnings from nfs_mntent.c nfs_mntent.c: In function 'mangle': nfs_mntent.c:36: warning: comparison between signed and unsigned integer expressions Signed-off-by: Steve Dickson --- diff --git a/support/nfs/nfs_mntent.c b/support/nfs/nfs_mntent.c index a3fecfc..9c73ae0 100644 --- a/support/nfs/nfs_mntent.c +++ b/support/nfs/nfs_mntent.c @@ -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);