qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined
@ 2010-05-19 19:49 Riccardo Magliocchetti
  2010-05-28 21:21 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Riccardo Magliocchetti @ 2010-05-19 19:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: Riccardo Magliocchetti

Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
---
 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 6a2c3f9..914de1f 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;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-28 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 19:49 [Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined Riccardo Magliocchetti
2010-05-28 21:21 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).