diff options
author | Zeev Suraski <zeev@php.net> | 2000-05-11 19:18:11 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-05-11 19:18:11 +0000 |
commit | 0d6a794d856af0c681d497101ba6536045e5911a (patch) | |
tree | 6a72d866882cd5e998ee50bf8f7f21f46ca7d410 /Zend/zend_operators.c | |
parent | 9a751419cfd600c474a3950012e06ea878afcc73 (diff) | |
download | php-git-0d6a794d856af0c681d497101ba6536045e5911a.tar.gz |
Get rid of chval - it's really not necessary and seems to be confusing people
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index d8507924c9..cb641d8e04 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -880,7 +880,7 @@ ZEND_API int add_char_to_string(zval *result, zval *op1, zval *op2) { result->value.str.len = op1->value.str.len + 1; result->value.str.val = (char *) erealloc(op1->value.str.val, result->value.str.len+1); - result->value.str.val[result->value.str.len - 1] = op2->value.chval; + result->value.str.val[result->value.str.len - 1] = (char) op2->value.lval; result->value.str.val[result->value.str.len] = 0; result->type = IS_STRING; return SUCCESS; |