]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Detail.c
Fix test for imsm prodigal member scenario
[thirdparty/mdadm.git] / Detail.c
index 3d6b10fdb6a98e932e2636197d434ac004c73382..5116ccac7e9bed70d1a6d096c974159ec1869eb2 100644 (file)
--- a/Detail.c
+++ b/Detail.c
@@ -409,7 +409,7 @@ int Detail(char *dev, int brief, int export, int test, char *homehost)
 #if 0
 This is pretty boring
                        printf("  Reshape pos'n : %llu%s\n", (unsigned long long) info.reshape_progress<<9,
-                              human_size(info.reshape_progress<<9));
+                              human_size((unsigned long long)info.reshape_progress<<9));
 #endif
                        if (info.delta_disks > 0)
                                printf("  Delta Devices : %d, (%d->%d)\n",