diff --git a/cblocks/cursesio.c b/cblocks/cursesio.c index 16e3cd3..48abc86 100644 --- a/cblocks/cursesio.c +++ b/cblocks/cursesio.c @@ -380,7 +380,7 @@ static void selectrepresentation(void) attr_t attr; if (has_colors()) { - int pair; + short int pair; short frgnd, bkgnd; start_color(); diff --git a/cmines/cursesio.c b/cmines/cursesio.c index 9bcc9e5..137898b 100644 --- a/cmines/cursesio.c +++ b/cmines/cursesio.c @@ -366,7 +366,7 @@ int ioinitialize(int updatetimerflag, int showsmileysflag, int silenceflag, int allowoffclicksflag) { attr_t attr; - int n; + short int n; updatetimer = updatetimerflag; showsmileys = showsmileysflag; diff --git a/csokoban/cursesio.c b/csokoban/cursesio.c index 3146701..369df02 100644 --- a/csokoban/cursesio.c +++ b/csokoban/cursesio.c @@ -64,7 +64,7 @@ char const *currentfilename = NULL; */ static int lineout(char const *str, int index) { - int n; + short int n; while (isspace(str[index])) ++index;