From 8810c9dd5b66a097a235e6eabd399739a44df63e Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Mon, 19 Jul 2010 12:34:14 -0400 Subject: [PATCH] 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 --- support/nfs/nfs_mntent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2