X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-count-objects.c;h=6263d8af295a5abce3e417157af7cb41e3623f38;hb=66d5871ead74ae363274f221c9fa5945c18c4aa2;hp=f5b22bb80e23aef6acde2533701b7b56150948b6;hpb=3ed02de2f46105cbc45fcc8f3287513f470eb4a3;p=git.git diff --git a/builtin-count-objects.c b/builtin-count-objects.c index f5b22bb80..6263d8af2 100644 --- a/builtin-count-objects.c +++ b/builtin-count-objects.c @@ -44,7 +44,7 @@ static void count_objects(DIR *d, char *path, int len, int verbose, if (lstat(path, &st) || !S_ISREG(st.st_mode)) bad = 1; else - (*loose_size) += st.st_blocks; + (*loose_size) += xsize_t(st.st_blocks); } if (bad) { if (verbose) {