ncurses 5.7 - patch 20090627
[ncurses.git] / ncurses / tinfo / lib_tparm.c
index dce6973af02dc365510473243fbb064ca02934dc..806b21c181e4ce6ff456f0aa2deda31a389ddcf3 100644 (file)
 #include <curses.priv.h>
 
 #include <ctype.h>
-#include <term.h>
 #include <tic.h>
 
-MODULE_ID("$Id: lib_tparm.c,v 1.75 2008/08/03 22:37:22 tom Exp $")
+MODULE_ID("$Id: lib_tparm.c,v 1.77 2008/11/16 00:19:59 juergen Exp $")
 
 /*
  *     char *
@@ -166,7 +165,7 @@ save_char(int c)
     if (c == 0)
        c = 0200;
     get_space(1);
-    TPS(out_buff)[TPS(out_used)++] = c;
+    TPS(out_buff)[TPS(out_used)++] = (char) c;
 }
 
 static NCURSES_INLINE void