summaryrefslogtreecommitdiff
path: root/ext/gd/php_gd.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2006-03-05 18:26:12 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2006-03-05 18:26:12 +0000
commitdd659ea648a990f19ded080792d1527595e32047 (patch)
treeddb1ed4a286ab0289c949c7196b03342c249b5de /ext/gd/php_gd.h
parentb0f461e9d9d63c81c07e257493e237df8bbee8c3 (diff)
downloadphp-git-dd659ea648a990f19ded080792d1527595e32047.tar.gz
- fixed size information for _php_sig_png array
- removed extra memcmp step in signature comparison, this seemed to have been inherited from ext/standard/image.c but is not needed here as the provided buffer is big enough from the start
Diffstat (limited to 'ext/gd/php_gd.h')
-rw-r--r--ext/gd/php_gd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h
index d979e2c7c1..33f1981322 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -56,7 +56,7 @@
PHPAPI extern const char php_sig_gif[3];
PHPAPI extern const char php_sig_jpg[3];
-PHPAPI extern const char php_sig_png[3];
+PHPAPI extern const char php_sig_png[8];
extern zend_module_entry gd_module_entry;
#define phpext_gd_ptr &gd_module_entry