On Fri, 14 Aug 2009, Junio C Hamano wrote: > > From: Brandon Casey <drafnel@xxxxxxxxx> > Date: Fri, 14 Aug 2009 17:52:15 -0500 > Subject: [PATCH] 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@xxxxxxxxxxxxxxx> > Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> Unnecessary outer parentheses, but ack anyway. Linus -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html