cvs: pecl /operator operator.c
| From: | Sara Golemon | Date: | Tue, 21 Feb 2006 03:45:04 +0000 |
| Subject: | cvs: pecl /operator operator.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-5235@lists.php.net to get a copy of this message | ||
pollita Tue Feb 21 03:45:04 2006 UTC
Modified files:
/pecl/operator operator.c
Log:
Bugfix #6847: Compile failure under PHP 5.0.x
http://cvs.php.net/viewcvs.cgi/pecl/operator/operator.c?r1=1.9&r2=1.10&diff_format=u
Index: pecl/operator/operator.c
diff -u pecl/operator/operator.c:1.9 pecl/operator/operator.c:1.10
--- pecl/operator/operator.c:1.9 Sun Feb 5 00:23:35 2006
+++ pecl/operator/operator.c Tue Feb 21 03:45:04 2006
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: operator.c,v 1.9 2006/02/05 00:23:35 pollita Exp $ */
+/* $Id: operator.c,v 1.10 2006/02/21 03:45:04 pollita Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -174,7 +174,7 @@
#define PHP_OPERATOR_OPHANDLER_COUNT 512
#define PHP_OPERATOR_REPLACE_OPCODE(opname) zend_opcode_handlers[opname] =
php_operator_op_##opname
#define PHP_OPERATOR_REPLACE_ALL_OPCODE(opname) zend_opcode_handlers[opname] =
php_operator_op_##opname
-#define PHP_OPERATOR_DECODE(opline) (opline->code)
+#define PHP_OPERATOR_DECODE(opline) (opline->opcode)
#define PHP_OPERATOR_GET_OPLINE
#endif