pack-revindex.c: rearrange xcalloc arguments
commit48d547fb381b311fd327f84f1dff11228303c872
authorBrian Gesiak <modocache@gmail.com>
Mon, 26 May 2014 15:33:53 +0000 (27 00:33 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 May 2014 21:02:45 +0000 (27 14:02 -0700)
treed47624d279e5779bb9976dfa06fd5fb761bfe931
parent65bbf082c27bcc4544511b642fb311e5f3c21722
pack-revindex.c: rearrange xcalloc arguments

xcalloc() takes two arguments: the number of elements and their size.
init_pack_revindex() passes the arguments in reverse order, passing the
size of a pack_revindex, followed by the number to allocate.

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>
pack-revindex.c