diff options
Diffstat (limited to 'ext/standard/syslog.c')
-rw-r--r-- | ext/standard/syslog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index acbffe49ad..900b118a4e 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -135,8 +135,8 @@ PHP_MSHUTDOWN_FUNCTION(syslog) PHP_FUNCTION(openlog) { char *ident; - long option, facility; - int ident_len; + zend_long option, facility; + size_t ident_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sll", &ident, &ident_len, &option, &facility) == FAILURE) { @@ -175,9 +175,9 @@ PHP_FUNCTION(closelog) Generate a system log message */ PHP_FUNCTION(syslog) { - long priority; + zend_long priority; char *message; - int message_len; + size_t message_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &priority, &message, &message_len) == FAILURE) { |