The `flags` variable holds multiple bitwise flags (PARENT1, PARENT2, STALE),these flags are defined using (1u << N), so maybe there will be no issues if it is changed from `int` to `unsigned int` Moumita (1): commit-reach: use unsigned int for flags in paint_down_to_common() commit-reach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.48.0