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@xxxxxxxx> --- include/reiserfs_fs.h | 2 +- mkreiserfs/mkreiserfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/reiserfs_fs.h b/include/reiserfs_fs.h index 2d0442d..bcee57b 100644 --- a/include/reiserfs_fs.h +++ b/include/reiserfs_fs.h @@ -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; diff --git a/mkreiserfs/mkreiserfs.c b/mkreiserfs/mkreiserfs.c index 7ac0304..b0cd9b6 100644 --- a/mkreiserfs/mkreiserfs.c +++ b/mkreiserfs/mkreiserfs.c @@ -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 { -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html