diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-07 17:19:47 +0100 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-02-28 14:57:19 -0500 |
commit | ea0ac7f6f8f313f810858dd1ba4e7fae602e01bd (patch) | |
tree | c822cde3a88cdef15c4fc32d1de8f8546d0debdd /hw/m68k | |
parent | abcbc4eeca50bc4fa2963f8cc6308c3aad51148a (diff) | |
download | qemu-ea0ac7f6f8f313f810858dd1ba4e7fae602e01bd.zip qemu-ea0ac7f6f8f313f810858dd1ba4e7fae602e01bd.tar.gz qemu-ea0ac7f6f8f313f810858dd1ba4e7fae602e01bd.tar.bz2 |
hw: Make MachineClass::is_default a boolean type
There's no good reason for it to be type int, change it to bool.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200207161948.15972-3-philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/m68k')
-rw-r--r-- | hw/m68k/mcf5208.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/mcf5208.c b/hw/m68k/mcf5208.c index 31622c7..b84c152 100644 --- a/hw/m68k/mcf5208.c +++ b/hw/m68k/mcf5208.c @@ -350,7 +350,7 @@ static void mcf5208evb_machine_init(MachineClass *mc) { mc->desc = "MCF5208EVB"; mc->init = mcf5208evb_init; - mc->is_default = 1; + mc->is_default = true; mc->default_cpu_type = M68K_CPU_TYPE_NAME("m5208"); mc->default_ram_id = "mcf5208.ram"; } |