* gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems

for callers.
This commit is contained in:
John Gilmore 1992-08-29 00:31:10 +00:00
parent ecf4059f1c
commit 92a87f6afd
1 changed files with 2 additions and 2 deletions

View File

@ -517,9 +517,9 @@ extern struct type *builtin_type_m2_bool;
the same as for the type structure. */ the same as for the type structure. */
#define TYPE_ALLOC(t,size) \ #define TYPE_ALLOC(t,size) \
TYPE_OBJFILE (t) != NULL \ (TYPE_OBJFILE (t) != NULL \
? obstack_alloc (&TYPE_OBJFILE (t) -> type_obstack, size) \ ? obstack_alloc (&TYPE_OBJFILE (t) -> type_obstack, size) \
: xmalloc (size) : xmalloc (size))
extern struct type * extern struct type *
alloc_type PARAMS ((struct objfile *)); alloc_type PARAMS ((struct objfile *));