diff options
author | Anatol Belski <ab@php.net> | 2014-08-27 15:31:48 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-27 20:49:31 +0200 |
commit | 3234480827b27ff5d3469a732167afd289632a96 (patch) | |
tree | 485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/standard/syslog.c | |
parent | ee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff) | |
download | php-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz |
first show to make 's' work with size_t
Diffstat (limited to 'ext/standard/syslog.c')
-rw-r--r-- | ext/standard/syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index 046393b6bb..900b118a4e 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -136,7 +136,7 @@ PHP_FUNCTION(openlog) { char *ident; zend_long option, facility; - int ident_len; + size_t ident_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sll", &ident, &ident_len, &option, &facility) == FAILURE) { @@ -177,7 +177,7 @@ PHP_FUNCTION(syslog) { 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) { |