]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/c-varobj.c
-Wwrite-strings: The Rest
[thirdparty/binutils-gdb.git] / gdb / c-varobj.c
index a5793e58639c18bbb5963aa094791972af457300..e3b097b227578d208f6a5098a147a01f39281662 100644 (file)
@@ -843,7 +843,7 @@ cplus_describe_child (const struct varobj *parent, int index,
        }
       else
        {
-         char *access = NULL;
+         const char *access = NULL;
          int children[3];
 
          cplus_class_num_children (type, children);