Various warning cleanups

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-11-23 22:14:32 +00:00
parent d547cbee4e
commit e0544c3eb5
13 changed files with 50 additions and 32 deletions

View File

@@ -938,7 +938,7 @@ term_set(EditLine *el, const char *term)
Val(T_co) = tgetnum("co");
Val(T_li) = tgetnum("li");
for (t = tstr; t->name != NULL; t++)
term_alloc(el, t, tgetstr(t->name, &area));
term_alloc(el, t, tgetstr((char *)t->name, &area));
}
if (Val(T_co) < 2)
@@ -1436,7 +1436,7 @@ term_echotc(EditLine *el, int argc, const char **argv)
break;
}
if (t->name == NULL)
scap = tgetstr(*argv, &area);
scap = tgetstr((char *)argv, &area);
if (!scap || scap[0] == '\0') {
if (!silent)
(void) fprintf(el->el_errfile,