Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
count-objects: do not use xsize_t when counting object size
[gitweb.git]
/
builtin
/
count-objects.c
diff --git
a/builtin/count-objects.c
b/builtin/count-objects.c
index a7f70cb858e6574562957b739b8a3d42f0353b40..316a805a8346350330595acae3f9df6c691955f9 100644
(file)
--- a/
builtin/count-objects.c
+++ b/
builtin/count-objects.c
@@
-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) {