target: Use 'bool' data type in mmu()
The variable is already used in some parts of the code as boolean value but have the wrong data type. Change-Id: I50ccbf84c6f33a3034de989789c6b17312458ea8 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/8989 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
a66e6fb43f
commit
325e6d38b5
@@ -3126,7 +3126,7 @@ static int xscale_virt2phys(struct target *target,
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int xscale_mmu(struct target *target, int *enabled)
|
||||
static int xscale_mmu(struct target *target, bool *enabled)
|
||||
{
|
||||
struct xscale_common *xscale = target_to_xscale(target);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user