diff --git a/advent_of_code_2022/day5/main2.cc b/advent_of_code_2022/day5/main2.cc index 2dc2512..4fe9de8 100644 --- a/advent_of_code_2022/day5/main2.cc +++ b/advent_of_code_2022/day5/main2.cc @@ -36,7 +36,7 @@ std::vector> read_initial_setup() struct Instruction { - std::size_t move{}; + std::ptrdiff_t move{}; std::size_t from{}; std::size_t to{}; };