com php-src: Fix build in exif debug mode, p_name is a char*, not a zval**: ext/exif/exif.c
| From: | Kalle Sommer Nielsen | Date: | Mon, 19 Oct 2015 15:03:08 +0000 |
| Subject: | com php-src: Fix build in exif debug mode, p_name is a char*, not a zval**: ext/exif/exif.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89458@lists.php.net to get a copy of this message | ||
Commit: 85678fc3bdfb5d893210c532c21c133f71a4da63
Author: Kalle Sommer Nielsen <kalle@php.net> Mon, 19 Oct 2015 17:03:08 +0200
Parents: 76a612c663555e48d875e4ead046f424fef2d108
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=85678fc3bdfb5d893210c532c21c133f71a4da63
Log:
Fix build in exif debug mode, p_name is a char*, not a zval**
Changed paths:
M ext/exif/exif.c
Diff:
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index a3f7d40..8ffa55a 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -4074,7 +4074,7 @@ PHP_FUNCTION(exif_read_data)
exif_discard_imageinfo(&ImageInfo);
#ifdef EXIF_DEBUG
- php_error_docref1(NULL, Z_STRVAL_PP(p_name), E_NOTICE, "done");
+ php_error_docref1(NULL, p_name, E_NOTICE, "done");
#endif
}
/* }}} */