From ecdf12dd298fc9f80ed3d87c3b646383a5702a25 Mon Sep 17 00:00:00 2001
From: adilger <adilger>
Date: Thu, 24 May 2007 21:28:00 +0000
Subject: [PATCH] Branch b1_6 Quiet signed-vs-unsigned pointer warning.

---
 lustre/utils/mkfs_lustre.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c
index 222a7beffe..75a5d6dd43 100644
--- a/lustre/utils/mkfs_lustre.c
+++ b/lustre/utils/mkfs_lustre.c
@@ -729,7 +729,7 @@ int write_local_files(struct mkfs_opts *mop)
                 /* Copy the old mdt log to fsname-MDT0000 (get old
                    name from mdt_UUID) */
                 ret = 1;
-                strscpy(filepnm, mop->mo_ldd.ldd_uuid, sizeof(filepnm));
+                strscpy(filepnm, (char *)mop->mo_ldd.ldd_uuid, sizeof(filepnm));
                 term = strstr(filepnm, "_UUID");
                 if (term) {
                         *term = '\0';
-- 
GitLab