diff options
-rw-r--r-- | ext/standard/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c index 4a23bdff7e..0189e0d98a 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -287,7 +287,7 @@ static void php_skip_variable(int socketd, FILE *fp, int issock) /* {{{ 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 @@ static struct gfxinfo *php_handle_jpeg (int socketd, FILE *fp, int issock, pval 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; |