X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Fcomp_scan.c;h=2a9aa56371c8b3a1fca9de394a8d7b96aaa418a5;hp=dea8259100a13f24939e9698160095cd7a37b057;hb=dff527f594001b2aed593868bd7774c86eec813d;hpb=18b7b94579f108e649ece3fb12165833dbf5d95a;ds=sidebyside diff --git a/ncurses/tinfo/comp_scan.c b/ncurses/tinfo/comp_scan.c index dea82591..2a9aa563 100644 --- a/ncurses/tinfo/comp_scan.c +++ b/ncurses/tinfo/comp_scan.c @@ -50,7 +50,7 @@ #include #include -MODULE_ID("$Id: comp_scan.c,v 1.99 2012/04/01 20:37:08 tom Exp $") +MODULE_ID("$Id: comp_scan.c,v 1.101 2012/12/08 22:19:25 tom Exp $") /* * Maximum length of string capability we'll accept before raising an error. @@ -380,7 +380,7 @@ _nc_get_token(bool silent) if (end_of_stream()) { yyin = 0; - next_char(); /* frees its allocated memory */ + (void) next_char(); /* frees its allocated memory */ if (tok_buf != 0) { if (_nc_curr_token.tk_name == tok_buf) _nc_curr_token.tk_name = 0; @@ -530,7 +530,7 @@ _nc_get_token(bool silent) _nc_get_hash_table(FALSE))) { capability = TRUE; } - *s = c0; + *s = (char) c0; } } if (capability) {