cvs: php4 /ext/standard image.c
| From: | Sterling Hughes | Date: | Tue, 04 Sep 2001 06:08:42 +0000 |
| Subject: | cvs: php4 /ext/standard image.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7190@lists.php.net to get a copy of this message | ||
sterling Tue Sep 4 02:08:42 2001 EDT
Modified files:
/php4/ext/standard image.c
Log:
pval -> zval
Index: php4/ext/standard/image.c
diff -u php4/ext/standard/image.c:1.37 php4/ext/standard/image.c:1.38
--- php4/ext/standard/image.c:1.37 Sat Aug 11 13:03:37 2001
+++ php4/ext/standard/image.c Tue Sep 4 02:08:42 2001
@@ -15,7 +15,7 @@
| Authors: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
-/* $Id: image.c,v 1.37 2001/08/11 17:03:37 zeev Exp $ */
+/* $Id: image.c,v 1.38 2001/09/04 06:08:42 sterling Exp $ */
/*
* Based on Daniel Schmitt's imageinfo.c which carried the following
* Copyright notice.
@@ -287,7 +287,7 @@
/* {{{ php_read_APP
*/
-static void php_read_APP(int socketd, FILE *fp, int issock, unsigned int marker, pval *info)
+static void php_read_APP(int socketd, FILE *fp, int issock, unsigned int marker, zval *info)
{
unsigned short length;
unsigned char *buffer;
@@ -401,7 +401,7 @@
Get the size of an image as 4-element array */
PHP_FUNCTION(getimagesize)
{
- pval **arg1, **info = 0;
+ zval **arg1, **info = NULL;
FILE *fp;
int issock=0, socketd=0, rsrc_id;
int itype = 0;