php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch field_constness_cpp_compilation_warning_fix.patch for Compile Warning Bug #55835

Patch version 2011-10-03 07:57 UTC

Return to Bug #55835 | Download this patch
Patch Revisions:

Developer: olivier@yakaz.com

--- zend_ini.h	2011-09-30 10:18:59.630952034 +0200
+++ /usr/include/php5/Zend/zend_ini.h	2011-09-29 12:24:39.012882527 +0200
@@ -65,14 +65,14 @@
 struct _zend_ini_entry {
 	int module_number;
 	int modifiable;
-	const char *name;
+	char *name;
 	uint name_length;
 	ZEND_INI_MH((*on_modify));
 	void *mh_arg1;
 	void *mh_arg2;
 	void *mh_arg3;
 
-	const char *value;
+	char *value;
 	uint value_length;
 
 	char *orig_value;
--- zend_modules.h	2011-09-30 10:19:54.234949674 +0200
+++ /usr/include/php5/Zend/zend_modules.h	2011-09-12 09:44:01.000000000 +0200
@@ -98,7 +98,7 @@
 	unsigned char type;
 	void *handle;
 	int module_number;
-	const char *build_id;
+	char *build_id;
 };
 
 #define MODULE_DEP_REQUIRED		1
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Nov 30 04:05:54 2022 UTC