cvs: ZendEngine2 / zend.h
| From: | Sascha Schumann | Date: | Sun, 17 Aug 2003 13:48:42 +0000 |
| Subject: | cvs: ZendEngine2 / zend.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1642@lists.php.net to get a copy of this message | ||
sas Sun Aug 17 09:48:42 2003 EDT
Modified files:
/ZendEngine2 zend.h
Log:
One bit fields need to be unsigned, otherwise there is no storage for
the sign bit
"A signed bit field has a length of 1 bit."
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.216 ZendEngine2/zend.h:1.217
--- ZendEngine2/zend.h:1.216 Mon Aug 4 03:52:36 2003
+++ ZendEngine2/zend.h Sun Aug 17 09:48:42 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.216 2003/08/04 07:52:36 zeev Exp $ */
+/* $Id: zend.h,v 1.217 2003/08/17 13:48:42 sas Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -228,8 +228,8 @@
typedef struct _zend_object {
zend_class_entry *ce;
HashTable *properties;
- int in_get:1;
- int in_set:1;
+ unsigned int in_get:1;
+ unsigned int in_set:1;
} zend_object;
typedef unsigned int zend_object_handle;