From 72cafaaabfaedaade41e79a8e1ff1d0503c413f0 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 9 Sep 2003 19:27:41 +0000 Subject: [PATCH] MFH: - 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(-) diff --git a/ext/standard/image.c b/ext/standard/image.c index 7ee3be27d9..2a8aa06de7 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 0b5cb0171f..e6e29d0c9c 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 */ -- 2.50.1