From: Brian Gesiak Date: Mon, 26 May 2014 15:33:47 +0000 (+0900) Subject: diff.c: rearrange xcalloc arguments X-Git-Tag: v2.0.3~14^2~7 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1a4927c5c54f737353323fd7bcd2045ee0985e1a?hp=1a4927c5c54f737353323fd7bcd2045ee0985e1a 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 Signed-off-by: Junio C Hamano ---