]> granicus.if.org Git - php/commitdiff
Fix compiler warning
authorAndrey Hristov <andrey@php.net>
Thu, 14 Jan 2010 11:39:18 +0000 (11:39 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 14 Jan 2010 11:39:18 +0000 (11:39 +0000)
ext/mysqlnd/mysqlnd_debug.c

index 8fe58ab8433d6c01669cbf19c62a3c62271ac70f..1de52920d065085f1c31f0aa417db98c11d67a05 100644 (file)
@@ -317,7 +317,7 @@ MYSQLND_METHOD(mysqlnd_debug, func_enter)(MYSQLND_DEBUG * self,
        }
 
        if ((self->flags & MYSQLND_DEBUG_TRACE_MEMORY_CALLS) == 0 && self->skip_functions) {
-               char ** p = self->skip_functions;
+               const char ** p = self->skip_functions;
                while (*p) {
                        if (*p == func_name) {
                                zend_stack_push(&self->call_stack, "", sizeof(""));