Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c
| From: | Andrei Zmievski | Date: | Sun, 05 Feb 2006 18:42:54 +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-4558@lists.php.net to get a copy of this message | ||
Why are you casting the args to void*? If anything, they should be op1->value.ustr.val and op2->value.ustr.val.
-Andrei
On Feb 5, 2006, at 5:12 AM, Marcus Boerger wrote:
- result->value.lval = ucol_strcoll(col, op1->value.str.val, op1-value.str.len, op2->value.str.val, op2->value.str.len); + result->value.lval = ucol_strcoll(col, (void*)op1->value.str.val, op1->value.str.len, (void*)op2->value.str.val, op2->value.str.len);