]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/rust-lang.c
-Wwrite-strings: The Rest
[thirdparty/binutils-gdb.git] / gdb / rust-lang.c
index 4977b0a1aa3f04b18e8e6179915b9898156cb75e..fe8a58cb0f3ff2d6b21a225ed76c5f8452f03ad6 100644 (file)
@@ -1891,7 +1891,7 @@ rust_operator_length (const struct expression *exp, int pc, int *oplenp,
 
 /* op_name implementation for Rust.  */
 
-static char *
+static const char *
 rust_op_name (enum exp_opcode opcode)
 {
   switch (opcode)