xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH 8/9] xfsprogs: fix sign warning in mkfs directory code
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 14 Jan 2010 21:09:11 +1100
In-reply-to: <1263463752-5052-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1263463752-5052-1-git-send-email-david@xxxxxxxxxxxxx>
Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>
---
 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>