]> granicus.if.org Git - php/commitdiff
Fix const-ness
authorAndrey Hristov <andrey@php.net>
Mon, 4 Oct 2010 13:54:30 +0000 (13:54 +0000)
committerAndrey Hristov <andrey@php.net>
Mon, 4 Oct 2010 13:54:30 +0000 (13:54 +0000)
ext/mysqlnd/mysqlnd_result_meta.c

index c95ae026e8ebdc808c9464cec35a2362c9dc094b..4cf2a72fb1e0b03cc5c84403f4e0365c1df5bb76 100644 (file)
@@ -52,7 +52,7 @@ php_mysqlnd_free_field_metadata(MYSQLND_FIELD *meta, zend_bool persistent TSRMLS
   and modified for the needs of mysqlnd.
 */
 static zend_bool
-mysqlnd_is_key_numeric(char *key, size_t length, long *idx)
+mysqlnd_is_key_numeric(const char * key, size_t length, long *idx)
 {
        register char * tmp = key;