From: Marcus Boerger Date: Sat, 20 May 2006 20:50:24 +0000 (+0000) Subject: - Z_LVAL is a long so use %ld X-Git-Tag: BEFORE_NEW_OUTPUT_API~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c3ffb2056073e0d8155fc06139e30e071cf5969;p=php - Z_LVAL is a long so use %ld --- diff --git a/Zend/zend_objects.c b/Zend/zend_objects.c index c2d995517e..2827a2892f 100644 --- a/Zend/zend_objects.c +++ b/Zend/zend_objects.c @@ -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)); }