From 5e40faa1d68618afe13ffd87312f5e880e69c172 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 9 Sep 2003 19:25:55 +0000 Subject: - Fixed bug #25211 (image.c compile failure with AIX) --- ext/standard/image.c | 2 +- ext/standard/php_image.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/standard') 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 */ -- cgit v1.2.1