diff --git a/aoc2023/src/main/java/io/github/zebalu/aoc2023/days/Day03.java b/aoc2023/src/main/java/io/github/zebalu/aoc2023/days/Day03.java index 12048c4..289fe6d 100644 --- a/aoc2023/src/main/java/io/github/zebalu/aoc2023/days/Day03.java +++ b/aoc2023/src/main/java/io/github/zebalu/aoc2023/days/Day03.java @@ -35,7 +35,7 @@ private static void part1(List matrix) { } private static void part2(List matrix) { - long sum = 0L; + int sum = 0; for (int y = 0; y < matrix.size(); ++y) { String line = matrix.get(y); for (int x = 0; x < line.length(); ++x) {