cvs: ZendEngine2 / zend_builtin_functions.c
| From: | Marcus Boerger | Date: | Mon, 27 Sep 2004 08:43:09 +0000 |
| Subject: | cvs: ZendEngine2 / zend_builtin_functions.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3035@lists.php.net to get a copy of this message | ||
helly Mon Sep 27 04:43:09 2004 EDT
Modified files:
/ZendEngine2 zend_builtin_functions.c
Log:
- Fix warnings
http://cvs.php.net/diff.php/ZendEngine2/zend_builtin_functions.c?r1=1.247&r2=1.248&ty=u
Index: ZendEngine2/zend_builtin_functions.c
diff -u ZendEngine2/zend_builtin_functions.c:1.247 ZendEngine2/zend_builtin_functions.c:1.248
--- ZendEngine2/zend_builtin_functions.c:1.247 Thu Sep 9 12:47:22 2004
+++ ZendEngine2/zend_builtin_functions.c Mon Sep 27 04:43:05 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_builtin_functions.c,v 1.247 2004/09/09 16:47:22 andi Exp $ */
+/* $Id: zend_builtin_functions.c,v 1.248 2004/09/27 08:43:05 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -1149,9 +1149,9 @@
static int copy_class_or_interface_name(zend_class_entry **pce, int num_args, va_list args,
zend_hash_key *hash_key)
{
zval *array = va_arg(args, zval *);
- int mask = va_arg(args, int);
- int comply = va_arg(args, int);
- int comply_mask = (comply)? mask:0;
+ zend_uint mask = va_arg(args, zend_uint);
+ zend_uint comply = va_arg(args, zend_uint);
+ zend_uint comply_mask = (comply)? mask:0;
zend_class_entry *ce = *pce;
if ((hash_key->nKeyLength==0 || hash_key->arKey[0]!=0)
@@ -1166,8 +1166,8 @@
Returns an array of all declared classes. */
ZEND_FUNCTION(get_declared_classes)
{
- int mask = ZEND_ACC_INTERFACE;
- int comply = 0;
+ zend_uint mask = ZEND_ACC_INTERFACE;
+ zend_uint comply = 0;
if (ZEND_NUM_ARGS() != 0) {
ZEND_WRONG_PARAM_COUNT();
@@ -1182,8 +1182,8 @@
Returns an array of all declared interfaces. */
ZEND_FUNCTION(get_declared_interfaces)
{
- int mask = ZEND_ACC_INTERFACE;
- int comply = 1;
+ zend_uint mask = ZEND_ACC_INTERFACE;
+ zend_uint comply = 1;
if (ZEND_NUM_ARGS() != 0) {
ZEND_WRONG_PARAM_COUNT();