[warning-fix][array-subscript-has-type-char]

This commit is contained in:
tpaviot
2011-08-13 14:01:53 +02:00
parent c075554d4b
commit 425a9c3086
+4 -4
View File
@@ -97,10 +97,10 @@ GLOBAL struct Object * OBJ;
/* macro function definitions */
/******************************/
#define OBJget_symbol(obj,type) (*OBJ[type].get_symbol)(obj)
#define OBJget_type(_type_) (OBJ[_type_].type)
#define OBJget_bits(_type_) (OBJ[_type_].bits)
#define OBJtype_is_oneof(_type_,class) (OBJ[_type_].bits & (class))
#define OBJget_symbol(obj,type) (*OBJ[(int)type].get_symbol)(obj)
#define OBJget_type(_type_) (OBJ[(int)_type_].type)
#define OBJget_bits(_type_) (OBJ[(int)_type_].bits)
#define OBJtype_is_oneof(_type_,class) (OBJ[(int)_type_].bits & (class))
#define OBJget_name(obj,type) (OBJget_symbol(obj,type)->name)
/* for backwards compatibility */