From: adilger Date: Thu, 24 May 2007 21:28:00 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_8_0_110~1593 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ecdf12dd298fc9f80ed3d87c3b646383a5702a25;p=fs%2Flustre-release.git Branch b1_6 Quiet signed-vs-unsigned pointer warning. --- diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index 222a7be..75a5d6d 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';