reiserfsprogs: fix unsigned char with strlen/strcmp/strncpy warnings

This patch fixes a bunch of the following warnings:
warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness [-Wpointer-sign]
warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
Jeff Mahoney committed 2012-10-11 15:57:25 -04:00
1 parent 0edf890eec
commit 3aa83f72ca
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ struct reiserfs_super_block
/* 76 */ __u32 sb_inode_generation;
/* 80 */ __u32 s_flags; /* Right now used only by inode-attributes, if enabled */
/* 84 */ unsigned char s_uuid[16]; /* filesystem unique identifier */
/*100 */ unsigned char s_label[16]; /* filesystem volume label */
/*100 */ char s_label[16]; /* filesystem volume label */
/*116 */ __u16 s_mnt_count;
/*118 */ __u16 s_max_mnt_count;
/*120 */ __u32 s_lastcheck;