aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2010-05-19 21:49:21 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-05-28 23:20:34 +0200
commit564e2fe8cd63ca6d5413408a1a4f9ee9cf471fff (patch)
tree87f903493c42b221e0b065c927837c251b92d83a
parent82f24fccaa9ef21e369d77e32bae20bcdc915947 (diff)
linux-user: Fix compilation with DEBUG defined
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--linux-user/flatload.c2
1 files changed, 1 insertions, 1 deletions
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;