summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2015-01-30 22:32:00 +0100
committerMichael Wallner <mike@php.net>2015-01-30 22:32:00 +0100
commit570ed1a1a4061da99839c47cece8f4ca560ea28f (patch)
tree8f05a994391f61686dfc4afbe436a785e636e9b3 /main/php_output.h
parent7a94243402d95b227931004aa9d10a1b94aeaef8 (diff)
downloadphp-git-570ed1a1a4061da99839c47cece8f4ca560ea28f.tar.gz
fix warnings
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); \