archive-tar: keep const in checksum calculation
commitbf38245be8f481ac1c08a98951b7fd00bbfc15ea
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Fri, 18 May 2012 05:18:11 +0000 (18 07:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 May 2012 18:26:18 +0000 (18 11:26 -0700)
tree46bacd2cec78633757615ea4f9c6987225e52aa8
parentc51a351a6bcc64ad8cb2ed5a6ebde54b8d50eef1
archive-tar: keep const in checksum calculation

For correctness, don't needlessly drop the const qualifier when casting.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-tar.c