From: Dan McGee Date: Tue, 12 May 2009 01:17:38 +0000 (-0500) Subject: Fix type-punning issues X-Git-Tag: v1.6.3.2~33 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b867d324ceb7e5c4f14a04c6b55d69498812d24b?hp=b867d324ceb7e5c4f14a04c6b55d69498812d24b Fix type-punning issues In these two places we are casting part of our unsigned char sha1 array into an unsigned int, which violates GCCs strict-aliasing rules (and probably other compilers). Signed-off-by: Dan McGee Signed-off-by: Junio C Hamano ---