Balance parentheses in expression

* rs6000-core.c (CORE_COMMONSZ): Balance parentheses in expression.
This commit is contained in:
Alan Modra
2018-08-20 09:20:11 +09:30
parent 8ca28cdfbe
commit ba1c4c6fee
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2018-08-20 Alan Modra <amodra@gmail.com>
* rs6000-core.c (CORE_COMMONSZ): Balance parentheses in expression.
2018-08-17 H.J. Lu <hongjiu.lu@intel.com>
PR ld/23515

View File

@ -271,8 +271,8 @@ typedef union
#define CORE_COMMONSZ ((long) &((struct core_dumpx *) 0)->c_entries \
+ sizeof (((struct core_dumpx *) 0)->c_entries))
#else
#define CORE_COMMONSZ ((int) &((struct core_dump *) 0)->c_entries \
+ sizeof (((struct core_dump *) 0)->c_entries)
#define CORE_COMMONSZ ((int) &((struct core_dump *) 0)->c_entries \
+ sizeof (((struct core_dump *) 0)->c_entries))
#endif
/* Define prototypes for certain functions, to avoid a compiler warning
saying that they are missing. */