X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftestcurs.c;h=a1f00576e8befc9b73fdcbbb5fec2fcfdded1ca2;hp=c1268981e051203c0b930011d31a92c753905402;hb=aabb3a65ee5d88949abe529b5131adedb9cfab84;hpb=761e4f0825b330e970558e82a4bd638383914429 diff --git a/test/testcurs.c b/test/testcurs.c index c1268981..a1f00576 100644 --- a/test/testcurs.c +++ b/test/testcurs.c @@ -6,7 +6,7 @@ * wrs(5/28/93) -- modified to be consistent (perform identically) with either * PDCurses or under Unix System V, R4 * - * $Id: testcurs.c,v 1.48 2013/05/18 22:05:06 tom Exp $ + * $Id: testcurs.c,v 1.49 2014/07/27 00:25:14 tom Exp $ */ #include @@ -286,7 +286,7 @@ inputTest(WINDOW *win) #ifdef A_COLOR if (has_colors()) { init_pair(2, COLOR_WHITE, COLOR_RED); - wbkgd(subWin, COLOR_PAIR(2) | A_BOLD); + wbkgd(subWin, (chtype) COLOR_PAIR(2) | A_BOLD); } else wbkgd(subWin, A_BOLD); #else