qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined
Date: Fri, 28 May 2010 23:21:09 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, May 19, 2010 at 09:49:21PM +0200, Riccardo Magliocchetti wrote:
> Signed-off-by: Riccardo Magliocchetti <address@hidden>

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
address@hidden                 http://www.aurel32.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]