]> granicus.if.org Git - php/commitdiff
MFH: - Fixed bug #25211 (image.c compile failure with AIX)
authorfoobar <sniper@php.net>
Tue, 9 Sep 2003 19:27:41 +0000 (19:27 +0000)
committerfoobar <sniper@php.net>
Tue, 9 Sep 2003 19:27:41 +0000 (19:27 +0000)
ext/standard/image.c
ext/standard/php_image.h

index 7ee3be27d94800dc9f364fed3aa613336a44d43d..2a8aa06de77ee5a6665ab72d0072fdad341f6650 100644 (file)
@@ -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:
index 0b5cb0171f6bf7bf62dc9849651565b1a27ea00d..e6e29d0c9cc25dddf1bd8401421889c236b38308 100644 (file)
@@ -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 */