diff options
author | Dan McGee <dpmcgee@gmail.com> | 2009-05-12 05:17:38 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-17 09:41:18 +0400 |
commit | b867d324ceb7e5c4f14a04c6b55d69498812d24b (patch) | |
tree | 4995fea8f2d925feaeb0183ac2e87c6fa86a5144 /dir.c | |
parent | e4b09dad9f65395fd4bb8ab165012a3a6698a75b (diff) |
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 'dir.c')
0 files changed, 0 insertions, 0 deletions