From 564e2fe8cd63ca6d5413408a1a4f9ee9cf471fff Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Wed, 19 May 2010 21:49:21 +0200 Subject: linux-user: Fix compilation with DEBUG defined Signed-off-by: Riccardo Magliocchetti Signed-off-by: Aurelien Jarno --- linux-user/flatload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/flatload.c') diff --git a/linux-user/flatload.c b/linux-user/flatload.c index 6a2c3f959e..914de1f888 100644 --- a/linux-user/flatload.c +++ b/linux-user/flatload.c @@ -338,7 +338,7 @@ failed: static void old_reloc(struct lib_info *libinfo, uint32_t rl) { #ifdef DEBUG - char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" }; + const char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" }; #endif uint32_t *ptr; uint32_t offset; -- cgit v1.2.3