]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/trace/lib_traceatr.c
ncurses 5.9 - patch 20141129
[ncurses.git] / ncurses / trace / lib_traceatr.c
index d1c0de40856d14d5563759b6fb272be41b7a4c29..5fb0df95f4fd9eb1b4135625d8a89bdd085fb3dd 100644 (file)
@@ -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))