X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=ncurses%2Ftrace%2Flib_traceatr.c;fp=ncurses%2Ftrace%2Flib_traceatr.c;h=5fb0df95f4fd9eb1b4135625d8a89bdd085fb3dd;hb=4f84dbbd027e85fc88e2c6be466b3237141e027e;hp=d1c0de40856d14d5563759b6fb272be41b7a4c29;hpb=3ee7a3a610ec0b332bf1fd62503327b249a44c73;p=ncurses.git diff --git a/ncurses/trace/lib_traceatr.c b/ncurses/trace/lib_traceatr.c index d1c0de40..5fb0df95 100644 --- a/ncurses/trace/lib_traceatr.c +++ b/ncurses/trace/lib_traceatr.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2012,2013 Free Software Foundation, Inc. * + * Copyright (c) 1998-2013,2014 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -43,7 +43,7 @@ #define CUR SP_TERMTYPE #endif -MODULE_ID("$Id: lib_traceatr.c,v 1.80 2013/08/31 13:33:06 tom Exp $") +MODULE_ID("$Id: lib_traceatr.c,v 1.81 2014/02/01 22:09:27 tom Exp $") #define COLOR_OF(c) ((c < 0) ? "default" : (c > 7 ? color_of(c) : colors[c].name)) @@ -151,7 +151,7 @@ _traceattr2(int bufnum, chtype newmode) _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp)) "{%d}", pairnum); #else - short fg, bg; + NCURSES_COLOR_T fg, bg; if (pair_content(pairnum, &fg, &bg) == OK) { _nc_SPRINTF(temp, _nc_SLIMIT(sizeof(temp))