xfs
[Top] [All Lists]

[PATCH 6/7] xfsprogs: fix sign warning in mkfs directory code

To: xfs@xxxxxxxxxxx
Subject: [PATCH 6/7] xfsprogs: fix sign warning in mkfs directory code
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 19 Jan 2010 11:36:52 +1100
In-reply-to: <1263861413-13729-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1263861413-13729-1-git-send-email-david@xxxxxxxxxxxxx>
Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
---
 mkfs/proto.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mkfs/proto.c b/mkfs/proto.c
index 8fc8c4c..3723685 100644
--- a/mkfs/proto.c
+++ b/mkfs/proto.c
@@ -432,7 +432,7 @@ parseproto(
        mode |= val;
        creds.cr_uid = (int)getnum(pp);
        creds.cr_gid = (int)getnum(pp);
-       xname.name = name;
+       xname.name = (uchar_t *)name;
        xname.len = name ? strlen(name) : 0;
        tp = libxfs_trans_alloc(mp, 0);
        flags = XFS_ILOG_CORE;
-- 
1.6.5

<Prev in Thread] Current Thread [Next in Thread>