andrey                                   Mon, 04 Oct 2010 13:54:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=304020

Log:
Fix const-ness

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_result_meta.c
    U   php/php-src/trunk/ext/mysqlnd/mysqlnd_result_meta.c

Modified: php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_result_meta.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_result_meta.c      
2010-10-04 13:51:35 UTC (rev 304019)
+++ php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_result_meta.c      
2010-10-04 13:54:30 UTC (rev 304020)
@@ -52,7 +52,7 @@
   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;


Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_result_meta.c
===================================================================
--- php/php-src/trunk/ext/mysqlnd/mysqlnd_result_meta.c 2010-10-04 13:51:35 UTC 
(rev 304019)
+++ php/php-src/trunk/ext/mysqlnd/mysqlnd_result_meta.c 2010-10-04 13:54:30 UTC 
(rev 304020)
@@ -52,7 +52,7 @@
   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;


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to