diff options
| author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-02-11 03:55:08 +0000 |
|---|---|---|
| committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-02-11 03:55:08 +0000 |
| commit | 1068156252bfa6008c904cf95994d85fbec2aced (patch) | |
| tree | ce73d6fb1a9b395885b01dc51d311c7f5daf8580 /ext/mbstring | |
| parent | fccbb1431ba121b99afbb1d29598b98e36e704e8 (diff) | |
| download | php-git-1068156252bfa6008c904cf95994d85fbec2aced.tar.gz | |
Fixed ZTS build
Diffstat (limited to 'ext/mbstring')
| -rw-r--r-- | ext/mbstring/mbstring.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 5bed41bec1..ff08224bfa 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -1094,7 +1094,7 @@ PHP_FUNCTION(mb_http_output) int name_len; enum mbfl_no_encoding no_encoding; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", (char **)&name, &name_len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", (char **)&name, &name_len) == FAILURE) { RETURN_FALSE; } @@ -1447,7 +1447,7 @@ PHP_FUNCTION(mb_strpos) } } - if (offset < 0 || offset > haystack.len) { + if (offset < 0 || (unsigned long)offset > haystack.len) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset is out of range"); RETURN_FALSE; } |
