diff.c: rearrange xcalloc arguments
commit1a4927c5c54f737353323fd7bcd2045ee0985e1a
authorBrian Gesiak <modocache@gmail.com>
Mon, 26 May 2014 15:33:47 +0000 (27 00:33 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2014 21:02:03 +0000 (27 14:02 -0700)
tree5294362e7faed0383327fb34bbbd2e6506f15de9
parentf1064f6bc897fe35830c2ecee08f8dd27caf763c
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>
diff.c