Make casts work again properly (bug #3155)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-12-29 23:11:51 +00:00
parent 90197dbbdc
commit 69d5139b36

View File

@@ -60,12 +60,12 @@ extern "C" {
ASTOBJ_COMPONENTS_NOLOCK_FULL(type,ASTOBJ_DEFAULT_NAMELEN,1) ASTOBJ_COMPONENTS_NOLOCK_FULL(type,ASTOBJ_DEFAULT_NAMELEN,1)
#define ASTOBJ_COMPONENTS(type) \ #define ASTOBJ_COMPONENTS(type) \
ast_mutex_t _lock; \ ASTOBJ_COMPONENTS_NOLOCK(type); \
ASTOBJ_COMPONENTS_NOLOCK(type) ast_mutex_t _lock;
#define ASTOBJ_COMPONENTS_FULL(type,namelen,hashes) \ #define ASTOBJ_COMPONENTS_FULL(type,namelen,hashes) \
ast_mutex_t _lock; \ ASTOBJ_COMPONENTS_NOLOCK_FULL(type,namelen,hashes); \
ASTOBJ_COMPONENTS_NOLOCK_FULL(type,namelen,hashes) ast_mutex_t _lock;
#define ASTOBJ_REF(object) \ #define ASTOBJ_REF(object) \
({ \ ({ \