[PATCH 8/9] xfsprogs: fix sign warning in mkfs directory code

Dave Chinner
2010-01-14T10:12:44Z

Signed-off-by: Dave Chinner <david@fromorbit.com>
---
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