mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 07:20:07 +00:00
![]() gcc (4.4.0) issues the following warning: src/revobject.c:33: warning: dereferencing type-punned pointer \ will break strict-aliasing rules We suppress the warning by copying the first 4 bytes from the oid structure into an 'unsigned int' using memcpy(). This will also fix any potential alignment issues on certain platforms. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se> |
||
---|---|---|
src | ||
tests | ||
.gitignore | ||
.HEADER | ||
api.doxygen | ||
CONVENTIONS | ||
COPYING | ||
git.git-authors | ||
libgit2.pc.in | ||
Makefile |