diff options
author | Kohei Tokunaga <ktokunaga.mail@gmail.com> | 2025-04-22 14:27:07 +0900 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-25 17:09:58 +0200 |
commit | 16704598bf3fa8578880e7146a0196d9411ea098 (patch) | |
tree | befebd3a695b941abdd414856c4b54820ddebd2b /hw/misc/stm32l4x5_exti.c | |
parent | 01499add2ae6529589002860e1880ff193a6578a (diff) | |
download | qemu-16704598bf3fa8578880e7146a0196d9411ea098.zip qemu-16704598bf3fa8578880e7146a0196d9411ea098.tar.gz qemu-16704598bf3fa8578880e7146a0196d9411ea098.tar.bz2 |
system/vl: 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>
Message-ID: <e9a50b76c54cc64fc9985186f0aef3fcc2024da6.1745295397.git.ktokunaga.mail@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/misc/stm32l4x5_exti.c')
0 files changed, 0 insertions, 0 deletions