mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-25 17:09:47 +00:00
In particular, the compiler issues the following warning:
src/revwalk.c(61) : warning C4244: '=' : conversion from \
'unsigned int' to 'unsigned char', possible loss of data
In order to suppress the warning, we change the type of the
sorting "enum" field of the git_revpool structure to be consistent
with the sort_mode parameter of the gitrp_sorting() function.
Note that if the size of the git_revpool structure is an issue,
then we could change the type of the sort_mode parameter instead.
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 | ||