Commit 59b40e2f authored by Niels Möller's avatar Niels Möller
Browse files

* src/xalloc.h (CHECK_TYPE) [DEBUG_ALLOC]: Added parentheses.

* src/xalloc.h (CHECK_SUBTYPE) [DEBUG_ALLOC]: Likewise.

Rev: src/xalloc.h:1.26
parent 4c9bcdc2
...@@ -94,8 +94,8 @@ extern unsigned number_of_strings; ...@@ -94,8 +94,8 @@ extern unsigned number_of_strings;
#else /* !DEBUG_ALLOC */ #else /* !DEBUG_ALLOC */
#define CHECK_TYPE(c, o) (struct lsh_object *)(o) #define CHECK_TYPE(c, o) ((struct lsh_object *)(o))
#define CHECK_SUBTYPE(c, o) (struct lsh_object *)(o) #define CHECK_SUBTYPE(c, o) ((struct lsh_object *)(o))
#define CAST(class, var, o) \ #define CAST(class, var, o) \
struct class *(var) = (struct class *) (o) struct class *(var) = (struct class *) (o)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment