aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/imx6_src.c
diff options
context:
space:
mode:
authorKohei Tokunaga <ktokunaga.mail@gmail.com>2025-04-22 14:27:11 +0900
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-25 17:09:53 +0200
commit141af1b31b10764dcc03a5854ff767b692545e7c (patch)
tree683d277283fa0aa4896212b1388e059be088f8ac /hw/misc/imx6_src.c
parent604ac1d87bd650db2c25adcac238577c6aeb5bee (diff)
downloadqemu-141af1b31b10764dcc03a5854ff767b692545e7c.zip
qemu-141af1b31b10764dcc03a5854ff767b692545e7c.tar.gz
qemu-141af1b31b10764dcc03a5854ff767b692545e7c.tar.bz2
hw/net/can: Fix type conflict of GLib function pointers
On Emscripten, function pointer casts can result in runtime failures due to strict function signature checks. This affects the use of g_list_sort and g_slist_sort, which internally perform function pointer casts that are not supported by Emscripten. To avoid these issues, g_list_sort_with_data and g_slist_sort_with_data should be used instead, as they do not rely on function pointer casting. Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Francisco Iglesias <francisco.iglesias@amd.com> Message-ID: <4d47a75c5768c9a6dc5d8b3504e78837577ad70d.1745295397.git.ktokunaga.mail@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/misc/imx6_src.c')
0 files changed, 0 insertions, 0 deletions