Skip to content
Browse files

fix incorrect cast that breaks INI options

  • Loading branch information...
1 parent d56658b commit f76b673cd0c2eb8068e243b0e96c2d7e7cdec320 @tony2001 committed Mar 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 pinba.cc
View
4 pinba.cc
@@ -1362,8 +1362,8 @@ static PHP_INI_MH(OnUpdateCollectorAddress) /* {{{ */
/* {{{ PHP_INI
*/
PHP_INI_BEGIN()
- STD_PHP_INI_ENTRY((char *)"pinba.server", NULL, PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateCollectorAddress, collector_address, zend_pinba_globals, pinba_globals)
- STD_PHP_INI_ENTRY((char *)"pinba.enabled", (char *)"0", PHP_INI_ALL, OnUpdateBool, enabled, zend_pinba_globals, pinba_globals)
+ STD_PHP_INI_ENTRY("pinba.server", NULL, PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateCollectorAddress, collector_address, zend_pinba_globals, pinba_globals)
+ STD_PHP_INI_ENTRY("pinba.enabled", "0", PHP_INI_ALL, OnUpdateBool, enabled, zend_pinba_globals, pinba_globals)
PHP_INI_END()
/* }}} */

0 comments on commit f76b673

Please sign in to comment.
Something went wrong with that request. Please try again.