]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk.c
ui: remove useless typecasts
authorVolker Rümelin <vr_qemu@t-online.de>
Sat, 22 Oct 2022 14:12:04 +0000 (16:12 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 24 Oct 2022 11:42:52 +0000 (13:42 +0200)
commitcf6280b99b42630d74c197fb2cd68d1a5d8673f7
tree178a226250e9a6f9e0686645c6b7341d51bd2b6e
parentc1dadb8462ff5021218f2c1aa015594952f441ca
ui: remove useless typecasts

Commit 8f9abdf586 ("chardev: src buffer const for write functions")
changed the type of the second parameter of qemu_chr_be_write()
from uint8_t * to const uint8_t *. Remove the now useless type
casts from qemu_chr_be_write() function calls in ui/console.c and
ui/gtk.c.

Cc: qemu-trivial@nongnu.org
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Message-Id: <20221022141204.29358-1-vr_qemu@t-online.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
ui/console.c
ui/gtk.c