summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--translate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index 9f45f5d1..505c9fc6 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4713,7 +4713,7 @@ dump_unwindsyms (Dwfl_Module *m,
size_t debug_len = 0;
void *eh_frame = NULL;
size_t eh_len = 0;
- Dwarf_Addr eh_addr = NULL;
+ Dwarf_Addr eh_addr = 0;
get_unwind_data (m, &debug_frame, &eh_frame, &debug_len, &eh_len, &eh_addr);
if (debug_frame != NULL && debug_len > 0)
{