sniper          Tue Sep  9 15:25:56 2003 EDT

  Modified files:              
    /php-src/ext/standard       php_image.h image.c 
  Log:
  - Fixed bug #25211 (image.c compile failure with AIX)
  
Index: php-src/ext/standard/php_image.h
diff -u php-src/ext/standard/php_image.h:1.25 php-src/ext/standard/php_image.h:1.26
--- php-src/ext/standard/php_image.h:1.25       Tue Jun 10 16:03:38 2003
+++ php-src/ext/standard/php_image.h    Tue Sep  9 15:25:55 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_image.h,v 1.25 2003/06/10 20:03:38 imajes Exp $ */
+/* $Id: php_image.h,v 1.26 2003/09/09 19:25:55 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 */
Index: php-src/ext/standard/image.c
diff -u php-src/ext/standard/image.c:1.92 php-src/ext/standard/image.c:1.93
--- php-src/ext/standard/image.c:1.92   Tue Jun 10 16:03:37 2003
+++ php-src/ext/standard/image.c        Tue Sep  9 15:25:55 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: image.c,v 1.92 2003/06/10 20:03:37 imajes Exp $ */
+/* $Id: image.c,v 1.93 2003/09/09 19:25:55 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:

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to