diff options
author | Nuno Lopes <nlopess@php.net> | 2006-09-04 18:59:01 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2006-09-04 18:59:01 +0000 |
commit | ae77214f7fd03b5e1f6243a3e9ab0c21e1721fbc (patch) | |
tree | b5a23075070111d60b3ca09eaef20f8a234cbb7c /ext/readline | |
parent | fc60217820182c8ba6f94d18b09885e43dd2b830 (diff) | |
download | php-git-ae77214f7fd03b5e1f6243a3e9ab0c21e1721fbc.tar.gz |
fix gcc warning
Diffstat (limited to 'ext/readline')
-rw-r--r-- | ext/readline/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 76f3f77f07..54677c0b7b 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -363,7 +363,7 @@ PHP_FUNCTION(readline_write_history) /* {{{ proto bool readline_completion_function(string funcname) Readline completion function? */ -static char *_readline_command_generator(char *text,int state) +static char *_readline_command_generator(const char *text, int state) { HashTable *myht = Z_ARRVAL(_readline_array); zval **entry; |