author | Dan McGee <dpmcgee@gmail.com> | |
Tue, 12 May 2009 01:17:38 +0000 (20:17 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 17 May 2009 05:41:18 +0000 (22:41 -0700) | ||
commit | b867d324ceb7e5c4f14a04c6b55d69498812d24b | |
tree | 4995fea8f2d925feaeb0183ac2e87c6fa86a5144 | tree | snapshot |
parent | e4b09dad9f65395fd4bb8ab165012a3a6698a75b | commit | 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>
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>
decorate.c | diff | blob | history | |
object.c | diff | blob | history |