X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fbackground.c;h=b7c2d1fb72c1237c13d60f5d13697b37d376570a;hp=e9f266e17f92133e3c23e6eb7dc6da87f4e24e4d;hb=12b49d3c56a6130feb2d39fbe2d6c1bc0838f0fa;hpb=5e1e572b71ae31a6071daa24e2460a68a6f1003c diff --git a/test/background.c b/test/background.c index e9f266e1..b7c2d1fb 100644 --- a/test/background.c +++ b/test/background.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: background.c,v 1.16 2017/04/15 14:13:30 tom Exp $ + * $Id: background.c,v 1.17 2017/09/29 22:54:33 tom Exp $ */ #define NEED_COLOR_CODE 1 @@ -65,7 +65,7 @@ test_background(void) printw("Initializing pair 3 to %s/cyan (ACS_HLINE)\n", color_name(default_fg)); init_pair(3, (NCURSES_COLOR_T) default_fg, COLOR_CYAN); printw("...and drawing a box which should be followed by lines\n"); - bkgdset(ACS_HLINE | (attr_t) COLOR_PAIR(3)); + bkgdset(ACS_HLINE | (chtype) COLOR_PAIR(3)); /* * Characters from vt100 line-drawing should be mapped to line-drawing, * since A_ALTCHARSET is set in the background, and the character part