| Name |
Last commit
|
Last update |
|---|---|---|
| src | ||
| tests | ||
| .HEADER | ||
| .gitignore | ||
| CONVENTIONS | ||
| COPYING | ||
| Makefile | ||
| api.doxygen | ||
| git.git-authors | ||
| libgit2.pc.in |
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>
| Name |
Last commit
|
Last update |
|---|---|---|
| src | Loading commit data... | |
| tests | Loading commit data... | |
| .HEADER | Loading commit data... | |
| .gitignore | Loading commit data... | |
| CONVENTIONS | Loading commit data... | |
| COPYING | Loading commit data... | |
| Makefile | Loading commit data... | |
| api.doxygen | Loading commit data... | |
| git.git-authors | Loading commit data... | |
| libgit2.pc.in | Loading commit data... |