* dwarf.c (display_debug_addr): Add missing parentheses to expression.
authorDoug Evans <dje@google.com>
Thu, 24 Jan 2013 20:24:44 +0000 (20:24 +0000)
committerDoug Evans <dje@google.com>
Thu, 24 Jan 2013 20:24:44 +0000 (20:24 +0000)
binutils/ChangeLog
binutils/dwarf.c

index 1d88c3d1c18a4ff4616b8293efe0151dd84fb7a8..75e25f6a13f185cfa15c97046218926a86f3c72e 100644 (file)
@@ -1,3 +1,7 @@
+2013-01-24  Doug Evans  <dje@google.com>
+
+       * dwarf.c (display_debug_addr): Add missing parentheses to expression.
+
 2013-01-24  Nick Clifton  <nickc@redhat.com>
 
        * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
index 8127ee3d7a99d37f6cfbcde58c9ef346160ce40a..6d9fdf9371923b0e6417ffb59877163f55505019 100644 (file)
@@ -4399,7 +4399,7 @@ display_debug_addr (struct dwarf_section *section,
 
   printf (_("Contents of the %s section:\n\n"), section->name);
 
-  debug_addr_info = (debug_info **) xmalloc (num_debug_info_entries + 1
+  debug_addr_info = (debug_info **) xmalloc ((num_debug_info_entries + 1)
                                              * sizeof (debug_info *));
 
   count = 0;