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:
1 parent
0edf890eec
commit
3aa83f72ca
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -95,7 +95,7 @@ int Hash = DEFAULT_HASH;
|
||||
int Offset = 0;
|
||||
char * Format;
|
||||
unsigned char UUID[16];
|
||||
unsigned char * LABEL = NULL;
|
||||
char * LABEL = NULL;
|
||||
char * badblocks_file;
|
||||
|
||||
enum mkfs_mode {
|
||||
|
||||
Reference in new issue
Block a user