summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-07-19 12:34:14 -0400
committerSteve Dickson <steved@redhat.com>2010-08-09 09:57:02 -0400
commit8810c9dd5b66a097a235e6eabd399739a44df63e (patch)
treec0f573aa355fb4d8e8fc37873e0ed2f7dc7b8e55 /support
parent1ca569633e14c844e32d8e5e3a1c54be01a8b633 (diff)
downloadnfs-utils-8810c9dd5b66a097a235e6eabd399739a44df63e.tar.gz
nfs-utils-8810c9dd5b66a097a235e6eabd399739a44df63e.tar.xz
nfs-utils-8810c9dd5b66a097a235e6eabd399739a44df63e.zip
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 <steved@redhat.com>
Diffstat (limited to 'support')
-rw-r--r--support/nfs/nfs_mntent.c2
1 files changed, 1 insertions, 1 deletions
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);