diff options
author | Riccardo Magliocchetti | 2010-05-19 21:49:21 +0200 |
---|---|---|
committer | Aurelien Jarno | 2010-05-28 23:20:34 +0200 |
commit | 564e2fe8cd63ca6d5413408a1a4f9ee9cf471fff (patch) | |
tree | 87f903493c42b221e0b065c927837c251b92d83a /linux-user | |
parent | Fix hw/gt64xxx.c compilation with DEBUG defined (diff) | |
download | qemu-564e2fe8cd63ca6d5413408a1a4f9ee9cf471fff.tar.gz qemu-564e2fe8cd63ca6d5413408a1a4f9ee9cf471fff.tar.xz qemu-564e2fe8cd63ca6d5413408a1a4f9ee9cf471fff.zip |
linux-user: Fix compilation with DEBUG defined
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/flatload.c | 2 |
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; |