qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
To: qemu-devel@nongnu.org
Cc: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Subject: [Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined
Date: Wed, 19 May 2010 21:49:21 +0200	[thread overview]
Message-ID: <1274298561-8717-1-git-send-email-riccardo.magliocchetti@gmail.com> (raw)

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

             reply	other threads:[~2010-05-19 19:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 19:49 Riccardo Magliocchetti [this message]
2010-05-28 21:21 ` [Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1274298561-8717-1-git-send-email-riccardo.magliocchetti@gmail.com \
    --to=riccardo.magliocchetti@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).