From 522e534448cc3ada7695caa9fbac1e8b82d60f92 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 24 Jul 2010 02:21:28 +0200 Subject: [PATCH] Remove unnecessary casts. --- src/editline.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/editline.c b/src/editline.c index ab2fa71..881f12d 100644 --- a/src/editline.c +++ b/src/editline.c @@ -210,9 +210,9 @@ static void tty_info(void) { static int init; #ifdef CONFIG_USE_TERMCAP - char *term; + char *term; char buff[2048]; - char *bp; + char *bp; #endif #ifdef TIOCGWINSZ struct winsize W; @@ -1142,7 +1142,7 @@ static el_status_t c_possible(void) int ac; word = find_word(); - ac = rl_list_possib((char *)word, (char ***)&av); + ac = rl_list_possib(word, &av); if (word) free(word); if (ac) {