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 */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php