diff options
author | Alan Modra <amodra@gmail.com> | 2018-08-20 09:20:11 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-08-20 09:45:02 +0930 |
commit | ba1c4c6fee7e8794481412fd8604462f04b2765f (patch) | |
tree | 989ef3c074790a1bf663a018491e0d665f64222e | |
parent | 8ca28cdfbec3efd7dab10f13919dc0b1cf778ded (diff) | |
download | binutils-ba1c4c6fee7e8794481412fd8604462f04b2765f.zip binutils-ba1c4c6fee7e8794481412fd8604462f04b2765f.tar.gz binutils-ba1c4c6fee7e8794481412fd8604462f04b2765f.tar.bz2 |
Balance parentheses in expression
* rs6000-core.c (CORE_COMMONSZ): Balance parentheses in expression.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/rs6000-core.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4fbe0bf..4dac44b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/rs6000-core.c b/bfd/rs6000-core.c index a2f0d23..7b9225a 100644 --- a/bfd/rs6000-core.c +++ b/bfd/rs6000-core.c @@ -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. */ |