Whamcloud - gitweb
Branch b1_6
authoradilger <adilger>
Thu, 24 May 2007 21:28:00 +0000 (21:28 +0000)
committeradilger <adilger>
Thu, 24 May 2007 21:28:00 +0000 (21:28 +0000)
Quiet signed-vs-unsigned pointer warning.

lustre/utils/mkfs_lustre.c

index 222a7be..75a5d6d 100644 (file)
@@ -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';