summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-09-09 19:25:55 +0000
committerfoobar <sniper@php.net>2003-09-09 19:25:55 +0000
commit5e40faa1d68618afe13ffd87312f5e880e69c172 (patch)
tree2039e7da1fe9b07a9fc17469eed859cc0b947505 /ext/standard
parent36e89f6debe9a18385badeba3147829f03c1d405 (diff)
downloadphp-git-5e40faa1d68618afe13ffd87312f5e880e69c172.tar.gz
- Fixed bug #25211 (image.c compile failure with AIX)
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/image.c2
-rw-r--r--ext/standard/php_image.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c
index 8508ced4d3..366cfe2982 100644
--- a/ext/standard/image.c
+++ b/ext/standard/image.c
@@ -1026,7 +1026,7 @@ static struct gfxinfo *php_handle_xbm(php_stream * stream TSRMLS_DC)
/* {{{ php_image_type_to_mime_type
* Convert internal image_type to mime type */
-PHPAPI const char * php_image_type_to_mime_type(int image_type)
+PHPAPI char * php_image_type_to_mime_type(int image_type)
{
switch( image_type) {
case IMAGE_FILETYPE_GIF:
diff --git a/ext/standard/php_image.h b/ext/standard/php_image.h
index 81dc6ad0e5..1d3e9038dc 100644
--- a/ext/standard/php_image.h
+++ b/ext/standard/php_image.h
@@ -57,6 +57,6 @@ PHP_MINIT_FUNCTION(imagetypes);
PHPAPI int php_getimagetype(php_stream *stream, char *filetype TSRMLS_DC);
-PHPAPI const char * php_image_type_to_mime_type(int image_type);
+PHPAPI char * php_image_type_to_mime_type(int image_type);
#endif /* PHP_IMAGE_H */