cvs: php-src /main php_logos.c

From: Date: Thu, 13 Jul 2006 15:05:42 +0000
Subject: cvs: php-src /main php_logos.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-39214@lists.php.net to get a copy of this message
iliaa Thu Jul 13 15:05:42 2006 UTC Modified files: /php-src/main php_logos.c Log: MFB: Fixed compiler warnings. http://cvs.php.net/viewvc.cgi/php-src/main/php_logos.c?r1=1.21&r2=1.22&diff_format=u Index: php-src/main/php_logos.c diff -u php-src/main/php_logos.c:1.21 php-src/main/php_logos.c:1.22 --- php-src/main/php_logos.c:1.21 Thu Mar 2 13:12:45 2006 +++ php-src/main/php_logos.c Thu Jul 13 15:05:42 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_logos.c,v 1.21 2006/03/02 13:12:45 dmitry Exp $ */ +/* $Id: php_logos.c,v 1.22 2006/07/13 15:05:42 iliaa Exp $ */ #include "php.h" #include "logos.h" @@ -27,13 +27,13 @@ typedef struct _php_info_logo { char *mimetype; int mimelen; - unsigned char *data; + const unsigned char *data; int size; } php_info_logo; HashTable phpinfo_logo_hash; -PHPAPI int php_register_info_logo(char *logo_string, char *mimetype, unsigned char *data, int size) +PHPAPI int php_register_info_logo(char *logo_string, char *mimetype, const unsigned char *data, int size) { php_info_logo info_logo;

« previous php.cvs (#39214) next »