Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cherry-pick: add t3512 for submodule updates
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index de25819e4edede0a24ee30b202dee478165b4fed..bba9a558a60a490b7edd6dec370181a0941bf985 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-1361,7
+1361,7
@@
static struct diffstat_file *diffstat_add(struct diffstat_t *diffstat,
const char *name_b)
{
struct diffstat_file *x;
- x = xcalloc(
sizeof (*x), 1
);
+ x = xcalloc(
1, sizeof(*x)
);
ALLOC_GROW(diffstat->files, diffstat->nr + 1, diffstat->alloc);
diffstat->files[diffstat->nr++] = x;
if (name_b) {