cvs: php-src(PHP_4_3) /ext/standard image.c php_image.h

From: Date: Tue, 09 Sep 2003 19:27:42 +0000
Subject: cvs: php-src(PHP_4_3) /ext/standard image.c php_image.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23710@lists.php.net to get a copy of this message
sniper Tue Sep 9 15:27:42 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard image.c php_image.h Log: MFH: - Fixed bug #25211 (image.c compile failure with AIX) Index: php-src/ext/standard/image.c diff -u php-src/ext/standard/image.c:1.72.2.10 php-src/ext/standard/image.c:1.72.2.11 --- php-src/ext/standard/image.c:1.72.2.10 Fri Feb 14 14:46:21 2003 +++ php-src/ext/standard/image.c Tue Sep 9 15:27:41 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: image.c,v 1.72.2.10 2003/02/14 19:46:21 helly Exp $ */ +/* $Id: image.c,v 1.72.2.11 2003/09/09 19:27:41 sniper Exp $ */ #include "php.h" #include <stdio.h> @@ -1026,7 +1026,7 @@ /* {{{ 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: php-src/ext/standard/php_image.h diff -u php-src/ext/standard/php_image.h:1.19.4.3 php-src/ext/standard/php_image.h:1.19.4.4 --- php-src/ext/standard/php_image.h:1.19.4.3 Thu Feb 13 02:16:55 2003 +++ php-src/ext/standard/php_image.h Tue Sep 9 15:27:41 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_image.h,v 1.19.4.3 2003/02/13 07:16:55 sniper Exp $ */ +/* $Id: php_image.h,v 1.19.4.4 2003/09/09 19:27:41 sniper Exp $ */ #ifndef PHP_IMAGE_H #define PHP_IMAGE_H @@ -57,6 +57,6 @@ 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 */

« previous php.cvs (#23710) next »