Commit 8a7d625f by Ramsay Jones Committed by Andreas Ericsson

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>
parent 5b7487be
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment