diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2002-10-06 16:37:33 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2002-10-06 16:37:33 +0000 |
commit | d940131774818a31457b9fd04de5b3c51501542e (patch) | |
tree | 4ede1f041dfc91ccb0c65af9dd39427ab0462cf5 /ext/mbstring/php_mbregex.c | |
parent | 533fda4121f3ede29119f336af1334039bdff3ed (diff) | |
download | php-git-d940131774818a31457b9fd04de5b3c51501542e.tar.gz |
Fix build
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r-- | ext/mbstring/php_mbregex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c index 33021eaab8..8044d18e90 100644 --- a/ext/mbstring/php_mbregex.c +++ b/ext/mbstring/php_mbregex.c @@ -225,7 +225,7 @@ PHP_FUNCTION(mb_regex_encoding) if (ZEND_NUM_ARGS() == 0) { const char *retval = php_mbregex_mbctype2name(MBSTRG(current_mbctype)); if ( retval != NULL ) { - RETVAL_STRING((char *)retval); + RETVAL_STRING((char *)retval, 1); } else { RETVAL_FALSE; } |