summaryrefslogtreecommitdiff
path: root/source/q_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/q_list.h')
-rw-r--r--source/q_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/q_list.h b/source/q_list.h
index 6a06af7..5bfae8d 100644
--- a/source/q_list.h
+++ b/source/q_list.h
@@ -79,7 +79,7 @@ static inline void List_Remove( list_t *elem ) {
}
#define LIST_ENTRY( type, elem, member ) \
- ( type * )( ( unsigned char * )elem - q_offsetof( type, member ) )
+ (( type * )( ( unsigned char * )elem - q_offsetof( type, member ) ))
#define LIST_EMPTY( list ) \
( (list)->next == list ) \