This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[obvious] dwarf.c (display_debug_addr): Add missing parentheses to expression.
- From: Doug Evans <dje at google dot com>
- To: binutils at sourceware dot org
- Date: Thu, 24 Jan 2013 12:26:58 -0800
- Subject: [obvious] dwarf.c (display_debug_addr): Add missing parentheses to expression.
Hi,
I checked this one in as obvious.
2013-01-24 Doug Evans <dje@google.com>
* dwarf.c (display_debug_addr): Add missing parentheses to expression.
Index: dwarf.c
===================================================================
RCS file: /cvs/src/src/binutils/dwarf.c,v
retrieving revision 1.121
diff -u -p -r1.121 dwarf.c
--- dwarf.c 24 Oct 2012 01:59:39 -0000 1.121
+++ dwarf.c 24 Jan 2013 20:20:02 -0000
@@ -4399,7 +4399,7 @@ display_debug_addr (struct dwarf_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;