mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-13 19:01:55 +00:00
Fix some "signed/unsigned comparison" compilation warnings
These warnings are issued by both gcc (-Wextra) and msvc (-W3). Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se>
This commit is contained in:
parent
5b7487bee6
commit
8a7d625f53
@ -36,7 +36,7 @@ unsigned int git_revpool_table__hash(const git_oid *id)
|
||||
git_revpool_table *git_revpool_table_create(unsigned int min_size)
|
||||
{
|
||||
git_revpool_table *table;
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
table = git__malloc(sizeof(*table));
|
||||
|
||||
@ -152,7 +152,7 @@ void git_revpool_table_resize(git_revpool_table *table)
|
||||
|
||||
void git_revpool_table_free(git_revpool_table *table)
|
||||
{
|
||||
int index;
|
||||
unsigned int index;
|
||||
|
||||
for (index = 0; index <= table->size_mask; ++index) {
|
||||
git_revpool_node *node, *next_node;
|
||||
|
Loading…
Reference in New Issue
Block a user