fix warnings

This commit is contained in:
Michael Wallner 2015-01-30 22:32:00 +01:00
parent 7a94243402
commit 570ed1a1a4
5 changed files with 13 additions and 3 deletions

View file

@ -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); \