From d37f3f3cfea1bc2bf796eb0d25295543f35c53a4 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Fri, 11 Aug 2006 20:23:13 +0000 Subject: [PATCH] Added cast. Probably unneeded, but anyway. --- pdcurses/color.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdcurses/color.c b/pdcurses/color.c index 6424fc55..1740bb4b 100644 --- a/pdcurses/color.c +++ b/pdcurses/color.c @@ -34,7 +34,7 @@ static void PDC_init_pair(short, short, short); -RCSID("$Id: color.c,v 1.51 2006/08/11 19:50:51 wmcbrine Exp $"); +RCSID("$Id: color.c,v 1.52 2006/08/11 20:23:13 wmcbrine Exp $"); /*man-start************************************************************** @@ -118,7 +118,7 @@ static bool colorstarted = FALSE; /* COLOR_PAIR to attribute encoding table. */ -unsigned char *atrtab = NULL; +unsigned char *atrtab = (unsigned char *)NULL; static unsigned char colorset[PDC_COLOR_PAIRS];