]> granicus.if.org Git - php/commitdiff
- Z_LVAL is a long so use %ld
authorMarcus Boerger <helly@php.net>
Sat, 20 May 2006 20:50:24 +0000 (20:50 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 20 May 2006 20:50:24 +0000 (20:50 +0000)
Zend/zend_objects.c

index c2d995517e73db38b109ed268288687024055d14..2827a2892fa6a783ecbe45e7d082abad1f3ffc8c 100644 (file)
@@ -103,7 +103,7 @@ ZEND_API void zend_objects_destroy_object(zend_object *object, zend_object_handl
                                zval *file = zend_read_property(default_exception_ce, old_exception, "file", sizeof("file")-1, 1 TSRMLS_CC);
                                zval *line = zend_read_property(default_exception_ce, old_exception, "line", sizeof("line")-1, 1 TSRMLS_CC);
 
-                               zend_error(E_ERROR, "Ignoring exception from %v::__destruct() while an exception is already active (Uncaught %v in %R on line %d)", 
+                               zend_error(E_ERROR, "Ignoring exception from %v::__destruct() while an exception is already active (Uncaught %v in %R on line %ld)", 
                                        object->ce->name, Z_OBJCE_P(old_exception)->name, Z_TYPE_P(file), Z_UNIVAL_P(file), Z_LVAL_P(line));
                                zval_ptr_dtor(&EG(exception));
                        }