summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorLibravatar Brian Gesiak <modocache@gmail.com>2014-05-27 00:33:47 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-05-27 14:02:03 -0700
commit1a4927c5c54f737353323fd7bcd2045ee0985e1a (patch)
tree5294362e7faed0383327fb34bbbd2e6506f15de9 /grep.h
parentconfig.c: rearrange xcalloc arguments (diff)
downloadtgif-1a4927c5c54f737353323fd7bcd2045ee0985e1a.tar.xz
diff.c: rearrange xcalloc arguments
xcalloc() takes two arguments: the number of elements and their size. diffstat_add() passes the arguments in reverse order, passing the size of a diffstat_file*, followed by the number of diffstat_file* to be allocated. Rearrange them so they are in the correct order. Signed-off-by: Brian Gesiak <modocache@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.h')
0 files changed, 0 insertions, 0 deletions