Author: Krzysztof Aleksander Pyrkosz Last-Update: Sun, 26 Jun 2022 23:36:00 +0200 Bug-Debian: https://bugs.debian.org/1013892 Description: Do not get stuck in an infinite loop on ARM --- a/main.cpp +++ b/main.cpp @@ -488,7 +488,7 @@ void printHelp(){ bool readPuzzleFromStdIn(int* puzzle){ int read = 0; while (read < BOARD_SIZE){ - char c = getchar(); + int c = getchar(); if (c == EOF) return false; if (c >= '1' && c <='9'){ puzzle[read] = c-'0';