linux-user: Fix compilation with DEBUG defined
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
82f24fccaa
commit
564e2fe8cd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user