[Asterisk-cvs] asterisk/editline term.c,1.1,1.2

markster at lists.digium.com markster at lists.digium.com
Sun Nov 23 15:48:12 CST 2003


Update of /usr/cvsroot/asterisk/editline
In directory mongoose.digium.com:/tmp/cvs-serv24780/editline

Modified Files:
	term.c 
Log Message:
Various warning cleanups


Index: term.c
===================================================================
RCS file: /usr/cvsroot/asterisk/editline/term.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- term.c	27 Nov 2002 05:04:07 -0000	1.1
+++ term.c	23 Nov 2003 22:14:32 -0000	1.2
@@ -938,7 +938,7 @@
 		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 @@
 			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,




More information about the svn-commits mailing list