diff options
| author | Paolo Bonzini | 2018-05-31 15:50:52 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-05-31 15:50:52 +0200 |
| commit | 7e3ef27c7c1ccbac589ad0a67c40b5df57e2af71 (patch) | |
| tree | 819449d0915fdb71cafda5e2ec4b7fa05cec3569 /hw/dma | |
| parent | arm: fix qemu crash on startup with -bios option (diff) | |
| download | qemu-7e3ef27c7c1ccbac589ad0a67c40b5df57e2af71.tar.gz qemu-7e3ef27c7c1ccbac589ad0a67c40b5df57e2af71.tar.xz qemu-7e3ef27c7c1ccbac589ad0a67c40b5df57e2af71.zip | |
arm: fix malloc type mismatch
cpregs_keys is an uint32_t* so the allocation should use uint32_t.
g_new is even better because it is type-safe.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/dma')
0 files changed, 0 insertions, 0 deletions
