From e781a0c52f2816ea5e9ba83f58b9808c0e42024f Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Fri, 25 Nov 2016 15:02:07 +0100 Subject: [PATCH] graph: flag fields should be declared as unsigned --- src/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph.c b/src/graph.c index 8accd808c..948f7d306 100644 --- a/src/graph.c +++ b/src/graph.c @@ -59,7 +59,7 @@ static int mark_parents(git_revwalk *walk, git_commit_list_node *one, /* as long as there are non-STALE commits */ while (interesting(&list, roots)) { git_commit_list_node *commit = git_pqueue_pop(&list); - int flags; + unsigned int flags; if (commit == NULL) break;