Skip to content

Commit 9c125ee

Browse files
author
Ilia Alshanetsky
committed
Fixed compiler warnings.
1 parent 4902fc6 commit 9c125ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/php_logos.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
typedef struct _php_info_logo {
2828
char *mimetype;
2929
int mimelen;
30-
unsigned char *data;
30+
const unsigned char *data;
3131
int size;
3232
} php_info_logo;
3333

3434
HashTable phpinfo_logo_hash;
3535

36-
PHPAPI int php_register_info_logo(char *logo_string, char *mimetype, unsigned char *data, int size)
36+
PHPAPI int php_register_info_logo(char *logo_string, char *mimetype, const unsigned char *data, int size)
3737
{
3838
php_info_logo info_logo;
3939

0 commit comments

Comments
 (0)