summaryrefslogtreecommitdiff
path: root/sha1-lookup.c
diff options
context:
space:
mode:
authorLibravatar Dan McGee <dpmcgee@gmail.com>2009-05-11 20:17:38 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-16 22:41:18 -0700
commitb867d324ceb7e5c4f14a04c6b55d69498812d24b (patch)
tree4995fea8f2d925feaeb0183ac2e87c6fa86a5144 /sha1-lookup.c
parenttest: checkout shouldn't say that HEAD has moved if it didn't (diff)
downloadtgif-b867d324ceb7e5c4f14a04c6b55d69498812d24b.tar.xz
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 <dpmcgee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-lookup.c')
0 files changed, 0 insertions, 0 deletions