summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2015-02-02 19:53:32 +0000
committerJakub Zelenka <bukka@php.net>2015-02-02 19:53:32 +0000
commit3e4c1717ee4f4beb9c362942a113b90fff0a7fb0 (patch)
treef5da1649f6cfb5ae06b09b9cab4fd19a4446a767 /main/php_output.h
parentb65205028a2debc50c3e2ca1572da4c74ac87834 (diff)
parent92576c7c49a3c104bc4aea4cfa378a029bb26c86 (diff)
downloadphp-git-3e4c1717ee4f4beb9c362942a113b90fff0a7fb0.tar.gz
Merge branch 'master' into jsond
Diffstat (limited to 'main/php_output.h')
-rw-r--r--main/php_output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_output.h b/main/php_output.h
index 76a7ecd416..34c344534c 100644
--- a/main/php_output.h
+++ b/main/php_output.h
@@ -162,8 +162,8 @@ PHPAPI ZEND_EXTERN_MODULE_GLOBALS(output);
#define PHPWRITE(str, str_len) php_output_write((str), (str_len))
#define PHPWRITE_H(str, str_len) php_output_write_unbuffered((str), (str_len))
-#define PUTC(c) (php_output_write(&(c), 1), (c))
-#define PUTC_H(c) (php_output_write_unbuffered(&(c), 1), (c))
+#define PUTC(c) (php_output_write((const char *) &(c), 1), (c))
+#define PUTC_H(c) (php_output_write_unbuffered((const char *) &(c), 1), (c))
#define PUTS(str) do { \
const char *__str = (str); \