Do not pass NULL for the string in catch_errors
[deliverable/binutils-gdb.git] / gdb / maint.c
index 5d7fca50f1c875a3beab748bc20e4dfcc478779d..c95f645eb3e8f46ef4ff63ea8ae59494fc754b4f 100644 (file)
@@ -303,7 +303,7 @@ print_bfd_section_info (bfd *abfd,
 {
   flagword flags = bfd_get_section_flags (abfd, asect);
   const char *name = bfd_section_name (abfd, asect);
-  const char *arg = datum;
+  const char *arg = (const char *) datum;
 
   if (arg == NULL || *arg == '\0'
       || match_substring (arg, name)
This page took 0.023399 seconds and 4 git commands to generate.