diff options
author | Randy Dunlap | 2007-10-08 21:15:25 +0200 |
---|---|---|
committer | Karel Zak | 2007-10-11 00:30:42 +0200 |
commit | 7647936541a6215f600567469bf78fd123e87403 (patch) | |
tree | 726cca0252b0d18a02fc5505e3f353fab9dfda1f | |
parent | mkfs.minix: clean up gcc warnings (diff) | |
download | kernel-qcow2-util-linux-7647936541a6215f600567469bf78fd123e87403.tar.gz kernel-qcow2-util-linux-7647936541a6215f600567469bf78fd123e87403.tar.xz kernel-qcow2-util-linux-7647936541a6215f600567469bf78fd123e87403.zip |
mount: clean up gcc warnings (mount_mntent.c)
Fix gcc warnings from:
(try compilation with "-Wall -Wp,-D_FORTIFY_SOURCE=2")
mount_mntent.c:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mount_mntent.c:129: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness
mount_mntent.c:130: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness
mount_mntent.c:131: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness
mount_mntent.c:132: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
-rw-r--r-- | mount/mount_mntent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/mount_mntent.c b/mount/mount_mntent.c index 9fecc924a..7ac312ee1 100644 --- a/mount/mount_mntent.c +++ b/mount/mount_mntent.c @@ -21,7 +21,7 @@ static unsigned char need_escaping[] = { ' ', '\t', '\n', '\\' }; static char * -mangle(const unsigned char *s) { +mangle(const char *s) { char *ss, *sp; int n; |