count-objects: do not use xsize_t when counting object size
[gitweb.git] / builtin / count-objects.c
index a7f70cb858e6574562957b739b8a3d42f0353b40..316a805a8346350330595acae3f9df6c691955f9 100644 (file)
@@ -53,7 +53,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) += xsize_t(on_disk_bytes(st));
+                               (*loose_size) += on_disk_bytes(st);
                }
                if (bad) {
                        if (verbose) {