]> granicus.if.org Git - php/commitdiff
- Fix warning
authorAndi Gutmans <andi@php.net>
Sun, 2 Feb 2003 05:20:31 +0000 (05:20 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 2 Feb 2003 05:20:31 +0000 (05:20 +0000)
Zend/zend_compile.c

index abad64e4fe8b5e76563c9a99ff405435c37ecf92..07164f265cfa6f47e5a0387b46ca5de3df0cd17c 100644 (file)
@@ -928,7 +928,7 @@ void zend_do_begin_function_declaration(znode *function_token, znode *function_n
 
        if (is_method) {
                char *short_class_name = CG(active_class_entry)->name;
-               zend_uint short_class_name_length = CG(active_class_entry)->name_length;
+               int short_class_name_length = CG(active_class_entry)->name_length;
                zend_uint i;
 
                for (i=0; i < CG(active_class_entry)->name_length; i++) {