From 7ad8be40a5bf5b5f2538d032b10483903a667587 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Wed, 19 May 2010 21:49:21 +0200 Subject: [PATCH] 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(-) 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; -- 2.34.1