]> granicus.if.org Git - php/commitdiff
MFB: fix gcc warning
authorNuno Lopes <nlopess@php.net>
Mon, 4 Sep 2006 19:00:12 +0000 (19:00 +0000)
committerNuno Lopes <nlopess@php.net>
Mon, 4 Sep 2006 19:00:12 +0000 (19:00 +0000)
ext/readline/readline.c

index 4bf006e1d9d11dcdbaf35798bf7343a7f1add5cd..2f749e926cc5e39d3141d8fa3a5a16fc731a6c04 100644 (file)
@@ -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;