block-sha1/sha1.c: silence compiler complaints by casting void * to char *
authorBrandon Casey <drafnel@gmail.com>
Fri, 14 Aug 2009 22:52:15 +0000 (17:52 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Aug 2009 02:13:00 +0000 (19:13 -0700)
commita12218572f2875e91b6c3c12559b076c4949a675
tree317729704a668088d3916494d7e1ae357a31ca5b
parentee7dc310af660f423732369e955651ef2f05011d
block-sha1/sha1.c: silence compiler complaints by casting void * to char *

Some compilers produce errors when arithmetic is attempted on pointers to
void.  We want computations done on byte addresses, so cast them to char *
to work them around.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
block-sha1/sha1.c