helly Tue Feb 28 02:22:32 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/ext/reflection php_reflection.c
Log:
- Fix warning
http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.164.2.28&r2=1.164.2.29&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.164.2.28
php-src/ext/reflection/php_reflection.c:1.164.2.29
--- php-src/ext/reflection/php_reflection.c:1.164.2.28 Sat Feb 25 21:17:18 2006
+++ php-src/ext/reflection/php_reflection.c Tue Feb 28 02:22:32 2006
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_reflection.c,v 1.164.2.28 2006/02/25 21:17:18 helly Exp $ */
+/* $Id: php_reflection.c,v 1.164.2.29 2006/02/28 02:22:32 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -554,7 +554,7 @@
++offset;
while (op < end) {
if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT) &&
- op->op1.u.constant.value.lval == offset) {
+ op->op1.u.constant.value.lval == (long)offset) {
return op;
}
++op;
@@ -4432,7 +4432,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "Reflection", "enabled");
- php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v
1.164.2.28 2006/02/25 21:17:18 helly Exp $");
+ php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v
1.164.2.29 2006/02/28 02:22:32 helly Exp $");
php_info_print_table_end();
} /* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php