Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
attribute macro support
[gitweb.git]
/
builtin-count-objects.c
diff --git
a/builtin-count-objects.c
b/builtin-count-objects.c
index f5b22bb80e23aef6acde2533701b7b56150948b6..6263d8af295a5abce3e417157af7cb41e3623f38 100644
(file)
--- 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) {