nlopess Mon Sep 4 19:00:12 2006 UTC Modified files: /php-src/ext/readline readline.c Log: MFB: fix gcc warning http://cvs.php.net/viewvc.cgi/php-src/ext/readline/readline.c?r1=1.46&r2=1.47&diff_format=u Index: php-src/ext/readline/readline.c diff -u php-src/ext/readline/readline.c:1.46 php-src/ext/readline/readline.c:1.47 --- php-src/ext/readline/readline.c:1.46 Sun Jan 1 13:09:53 2006 +++ php-src/ext/readline/readline.c Mon Sep 4 19:00:12 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: readline.c,v 1.46 2006/01/01 13:09:53 sniper Exp $ */ +/* $Id: readline.c,v 1.47 2006/09/04 19:00:12 nlopess Exp $ */ /* {{{ includes & prototypes */ @@ -363,7 +363,7 @@ /* {{{ 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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php