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

* Re: [Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined
  2010-05-19 19:49 [Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined Riccardo Magliocchetti
@ 2010-05-28 21:21 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2010-05-28 21:21 UTC (permalink / raw)
  To: Riccardo Magliocchetti; +Cc: qemu-devel

On Wed, May 19, 2010 at 09:49:21PM +0200, Riccardo Magliocchetti wrote:
> Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>

Thanks, applied.

> ---
>  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
> 
> 
> 

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[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).