diff options
author | Volker Rümelin <vr_qemu@t-online.de> | 2023-01-21 10:47:31 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-03-06 10:30:23 +0400 |
commit | 3724ab3b34ff3430f315272429188a1b3dfdd247 (patch) | |
tree | 9c88c19e5831cdaec61dc9ca5ff9b405d6af9896 /hw/pci-host/uninorth.c | |
parent | d1def19fa3689127f551f8740e5c8b3b743dc33e (diff) | |
download | qemu-3724ab3b34ff3430f315272429188a1b3dfdd247.zip qemu-3724ab3b34ff3430f315272429188a1b3dfdd247.tar.gz qemu-3724ab3b34ff3430f315272429188a1b3dfdd247.tar.bz2 |
audio/audio_template: use g_malloc0() to replace audio_calloc()
Use g_malloc0() as a direct replacement for audio_calloc().
Since the type of the parameter n_bytes of the function g_malloc0()
is unsigned, the type of the variables voice_size_out and
voice_size_in has been changed to size_t. This means that the
function argument no longer has to be checked for negative values.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230121094735.11644-7-vr_qemu@t-online.de>
Diffstat (limited to 'hw/pci-host/uninorth.c')
0 files changed, 0 insertions, 0 deletions