From 7ccfb2eb5f9d91bdb4139cb420a3b5f8deb2f6e8 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 14 Sep 2008 06:45:34 +0000 Subject: Fix warnings that would be caused by gcc flag -Wwrite-strings git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5206 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-alpha/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-alpha') diff --git a/target-alpha/helper.c b/target-alpha/helper.c index fd39f5f893..7384ba266b 100644 --- a/target-alpha/helper.c +++ b/target-alpha/helper.c @@ -411,7 +411,7 @@ void cpu_dump_state (CPUState *env, FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...), int flags) { - static unsigned char *linux_reg_names[] = { + static const unsigned char *linux_reg_names[] = { "v0 ", "t0 ", "t1 ", "t2 ", "t3 ", "t4 ", "t5 ", "t6 ", "t7 ", "s0 ", "s1 ", "s2 ", "s3 ", "s4 ", "s5 ", "fp ", "a0 ", "a1 ", "a2 ", "a3 ", "a4 ", "a5 ", "t8 ", "t9 ", -- cgit v1.2.1