projects
/
nfs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca5696
)
Remove warnings from nfs_mntent.c
author
Steve Dickson
<steved@redhat.com>
Mon, 19 Jul 2010 16:34:14 +0000
(12:34 -0400)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/support/nfs/nfs_mntent.c
b/support/nfs/nfs_mntent.c
index a3fecfc05d8604c9334300c9a1a48fe0102d0a2c..9c73ae0b703d4a7156163128692f6f00ec435d0b 100644
(file)
--- 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);