]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/coff-pe-read.c
-Wwrite-strings: The Rest
[thirdparty/binutils-gdb.git] / gdb / coff-pe-read.c
index 65004c095c8c7f8a4795ec74d7d5f281babd2d4c..e8c6b67d623835bef49f5137391600efd8171ffc 100644 (file)
@@ -54,7 +54,7 @@ struct read_pe_section_data
   enum minimal_symbol_type ms_type;    /* Type to assign symbols in
                                           section.  */
   unsigned int index;          /* BFD section number.  */
-  char *section_name;          /* Recorded section name.  */
+  const char *section_name;    /* Recorded section name.  */
 };
 
 #define IMAGE_SCN_CNT_CODE 0x20