summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 06:56:51 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 06:56:51 (GMT)
commit5b1bbc9af010e37639750c8db2029580a8b8e2ae (patch)
tree4ed4a4cab65f9761b643028d92f3088dcb569e8c /addr2line.c
parenta89f229d6e4c2df0389f4d9986e12394299a7fb3 (diff)
fix header_length's type to unsigned long
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/addr2line.c b/addr2line.c
index 2b32735..a035c82 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -280,12 +280,11 @@ parse_debug_line_cu(int num_traces, void **traces, char **debug_line,
obj_info_t *obj, line_info_t *lines, int offset)
{
char *p, *cu_end, *cu_start, *include_directories, *filenames;
- unsigned long unit_length;
+ unsigned long unit_length, header_length;
unsigned short dwarf_version;
ptrdiff_t dwarf_word = 4;
int default_is_stmt, line_base;
- unsigned int header_length, minimum_instruction_length, line_range,
- opcode_base;
+ unsigned int minimum_instruction_length, line_range, opcode_base;
/* unsigned char *standard_opcode_lengths; */
/* The registers. */