Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c
| From: | Marcus Boerger | Date: | Sun, 05 Feb 2006 20:56:53 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-4560@lists.php.net to get a copy of this message | ||
Hello Andrei,
are you checking for same warnings/conversions and fixing them throughout
php or is it only changing that single instance?
best regards
marcus
Sunday, February 5, 2006, 9:54:11 PM, you wrote:
> andrei Sun Feb 5 20:54:11 2006 UTC
> Modified files:
> /ZendEngine2 zend_operators.c
> Log:
> Needs to use .ustr. portion of the union for IS_UNICODE.
>
>
>
> http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_operators.c?r1=1.228&r2=1.229&diff_format=u
> Index: ZendEngine2/zend_operators.c
> diff -u ZendEngine2/zend_operators.c:1.228 ZendEngine2/zend_operators.c:1.229
> --- ZendEngine2/zend_operators.c:1.228 Sun Feb 5 16:25:46 2006
> +++ ZendEngine2/zend_operators.c Sun Feb 5 20:54:11 2006
> @@ -17,7 +17,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: zend_operators.c,v 1.228 2006/02/05 16:25:46 helly Exp $ */
> +/* $Id: zend_operators.c,v 1.229 2006/02/05 20:54:11 andrei Exp $ */
>
> #include <ctype.h>
>
> @@ -1474,7 +1474,7 @@
> op2 = &op2_copy;
> }
>
> - result->value.lval = ucol_strcoll(col, (void*)op1->value.str.val,
> op1->value.str.len, (void*)op2->value.str.val, op2->value.str.len);
> + result->value.lval = ucol_strcoll(col, op1->value.ustr.val,
> op1->value.ustr.len, op2->value.ustr.val, op2->value.ustr.len);
> result->type = IS_LONG;
>
> if (use_copy1) {
Best regards,
Marcus