aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbtypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 5aaf73b..8fae607 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -517,9 +517,9 @@ extern struct type *builtin_type_m2_bool;
the same as for the type structure. */
#define TYPE_ALLOC(t,size) \
- TYPE_OBJFILE (t) != NULL \
+ (TYPE_OBJFILE (t) != NULL \
? obstack_alloc (&TYPE_OBJFILE (t) -> type_obstack, size) \
- : xmalloc (size)
+ : xmalloc (size))
extern struct type *
alloc_type PARAMS ((struct objfile *));