summaryrefslogtreecommitdiff
path: root/Zend/zend_indent.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2011-09-13 13:29:35 +0000
committerDmitry Stogov <dmitry@php.net>2011-09-13 13:29:35 +0000
commite43ff1359ef20dc7f055d8f34227ade1bff9a0a4 (patch)
tree5e386de0e3e0a7ed29b7c71371f1fcff2b96b521 /Zend/zend_indent.c
parent9b881b680c4c6cc9cdb7de764527ace6f0b7a34e (diff)
downloadphp-git-e43ff1359ef20dc7f055d8f34227ade1bff9a0a4.tar.gz
Fixed ZE specific compile warnings (Bug #55629)
Diffstat (limited to 'Zend/zend_indent.c')
-rw-r--r--Zend/zend_indent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_indent.c b/Zend/zend_indent.c
index b8432a0be3..03c572b9a3 100644
--- a/Zend/zend_indent.c
+++ b/Zend/zend_indent.c
@@ -64,7 +64,7 @@ ZEND_API void zend_indent()
while ((token_type=lex_scan(&token TSRMLS_CC))) {
switch (token_type) {
case T_INLINE_HTML:
- zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
+ zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
break;
case T_WHITESPACE: {
token.type = 0;
@@ -118,16 +118,16 @@ dflt_printout:
} else {
handle_whitespace(emit_whitespace);
}
- zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
+ zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
break;
}
} else {
handle_whitespace(emit_whitespace);
if (in_string) {
- zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
+ zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
/* a part of a string */
} else {
- zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
+ zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng));
}
}
break;