diff -u -r editline.orig/term.c editline/term.c --- editline.orig/term.c 2003-11-22 18:13:39.000000000 -0600 +++ editline/term.c 2003-11-22 18:24:06.000000000 -0600 @@ -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,