summaryrefslogtreecommitdiff
path: root/ext/xmlwriter/php_xmlwriter.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2005-02-20 19:31:52 +0000
committerPierre Joye <pajoye@php.net>2005-02-20 19:31:52 +0000
commitf67803801ea54debc49468b386e0bcae499c67e8 (patch)
treefdffad80fe0cc7f67f801d0cd9e10cc9e954b425 /ext/xmlwriter/php_xmlwriter.c
parenta455c7abcbfe80bceee34787f05e6b5a94eba1b7 (diff)
downloadphp-git-f67803801ea54debc49468b386e0bcae499c67e8.tar.gz
- more zend_bool.
Fix flush buffer in output_memory Fix isparm in start_dtd_entity
Diffstat (limited to 'ext/xmlwriter/php_xmlwriter.c')
-rw-r--r--ext/xmlwriter/php_xmlwriter.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c
index f6f2f9b437..11e3a8e051 100644
--- a/ext/xmlwriter/php_xmlwriter.c
+++ b/ext/xmlwriter/php_xmlwriter.c
@@ -172,7 +172,8 @@ PHP_FUNCTION(xmlwriter_set_indent)
zval *pind;
xmlwriter_object *intern;
xmlTextWriterPtr ptr;
- zend_bool indent, retval;
+ int retval;
+ zend_bool indent;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rb", &pind, &indent) == FAILURE) {
return;
@@ -1097,7 +1098,8 @@ PHP_FUNCTION(xmlwriter_start_dtd_entity)
xmlwriter_object *intern;
xmlTextWriterPtr ptr;
char *name;
- int name_len, isparm, retval;
+ int name_len, retval;
+ zend_bool isparm;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsb", &pind, &name, &name_len, &isparm) == FAILURE) {
return;
@@ -1253,7 +1255,7 @@ PHP_FUNCTION(xmlwriter_output_memory)
xmlwriter_object *intern;
xmlTextWriterPtr ptr;
xmlBufferPtr buffer;
- int flush = 1;
+ zend_bool flush = 1;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|b", &pind, &flush) == FAILURE) {
return;