X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fgdc.c;h=04ea1b6b4c460154bb582c223bf3664b356caa1d;hp=45eb39f4514a02f7a74a109cdada0acdb5bdd56a;hb=0266ec751090f9523ae676f357095176e293fb16;hpb=73b54c0812e4b8dfddcf87f59c7488bb3c10e10d diff --git a/test/gdc.c b/test/gdc.c index 45eb39f4..04ea1b6b 100644 --- a/test/gdc.c +++ b/test/gdc.c @@ -33,7 +33,7 @@ * modified 10-18-89 for curses (jrl) * 10-18-89 added signal handling * - * $Id: gdc.c,v 1.41 2014/08/02 16:36:20 tom Exp $ + * $Id: gdc.c,v 1.42 2014/08/09 22:28:42 tom Exp $ */ #include @@ -121,13 +121,13 @@ standt(int on) { if (on) { if (hascolor) { - attron((attr_t) COLOR_PAIR(PAIR_DIGITS)); + attron(COLOR_PAIR(PAIR_DIGITS)); } else { attron(A_STANDOUT); } } else { if (hascolor) { - attron((attr_t) COLOR_PAIR(PAIR_OTHERS)); + attron(COLOR_PAIR(PAIR_OTHERS)); } else { attroff(A_STANDOUT); }