nlopess Mon Sep 4 18:59:01 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/readline readline.c
Log:
fix gcc warning
http://cvs.php.net/viewvc.cgi/php-src/ext/readline/readline.c?r1=1.42.2.3&r2=1.42.2.3.2.1&diff_format=u
Index: php-src/ext/readline/readline.c
diff -u php-src/ext/readline/readline.c:1.42.2.3
php-src/ext/readline/readline.c:1.42.2.3.2.1
--- php-src/ext/readline/readline.c:1.42.2.3 Sun Jan 1 12:50:12 2006
+++ php-src/ext/readline/readline.c Mon Sep 4 18:59:01 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: readline.c,v 1.42.2.3 2006/01/01 12:50:12 sniper Exp $ */
+/* $Id: readline.c,v 1.42.2.3.2.1 2006/09/04 18:59:01 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