]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdbserver/gdbreplay.c
-Wwrite-strings: The Rest
[thirdparty/binutils-gdb.git] / gdb / gdbserver / gdbreplay.c
index 3bd9f3f0a6eb4d7036a0ed7cfa19aa3f523e8654..b76850617fba1bb44705f57c3e6a5ab9d1cfc9d5 100644 (file)
@@ -142,7 +142,7 @@ perror_with_name (const char *string)
 }
 
 static void
-sync_error (FILE *fp, char *desc, int expect, int got)
+sync_error (FILE *fp, const char *desc, int expect, int got)
 {
   fprintf (stderr, "\n%s\n", desc);
   fprintf (stderr, "At logfile offset %ld, expected '0x%x' got '0x%x'\n",