Commit e781a0c52f2816ea5e9ba83f58b9808c0e42024f

Patrick Steinhardt 2016-11-25T15:02:07

graph: flag fields should be declared as unsigned

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/graph.c b/src/graph.c
index 8accd80..948f7d3 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;