commit | a12218572f2875e91b6c3c12559b076c4949a675 | [log] [tgz] |
---|---|---|
author | Brandon Casey <drafnel@gmail.com> | Fri Aug 14 17:52:15 2009 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Aug 14 19:13:00 2009 -0700 |
tree | 317729704a668088d3916494d7e1ae357a31ca5b | |
parent | ee7dc310af660f423732369e955651ef2f05011d [diff] |
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>