mirror of
				https://github.com/troglobit/editline.git
				synced 2025-11-01 01:01:34 +08:00 
			
		
		
		
	Remove unnecessary casts.
This commit is contained in:
		| @@ -210,9 +210,9 @@ static void tty_info(void) | |||||||
| { | { | ||||||
|     static int          init; |     static int          init; | ||||||
| #ifdef CONFIG_USE_TERMCAP | #ifdef CONFIG_USE_TERMCAP | ||||||
|     char                *term; |     char               *term; | ||||||
|     char                buff[2048]; |     char                buff[2048]; | ||||||
|     char                *bp; |     char               *bp; | ||||||
| #endif | #endif | ||||||
| #ifdef TIOCGWINSZ | #ifdef TIOCGWINSZ | ||||||
|     struct winsize      W; |     struct winsize      W; | ||||||
| @@ -1142,7 +1142,7 @@ static el_status_t c_possible(void) | |||||||
|     int         ac; |     int         ac; | ||||||
|  |  | ||||||
|     word = find_word(); |     word = find_word(); | ||||||
|     ac = rl_list_possib((char *)word, (char ***)&av); |     ac = rl_list_possib(word, &av); | ||||||
|     if (word) |     if (word) | ||||||
|         free(word); |         free(word); | ||||||
|     if (ac) { |     if (ac) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Joachim Nilsson
					Joachim Nilsson