summary refs log tree commit diff stats
path: root/util/cacheflush.c
diff options
context:
space:
mode:
authorKohei Tokunaga <ktokunaga.mail@gmail.com>2025-04-28 15:38:54 +0900
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-06 16:02:04 +0200
commit84cb7025fa9378993dbd6242ab2c3fa556ed2a2c (patch)
treef43ad1e4772776d8a29b361ff2dcb4d4066945c4 /util/cacheflush.c
parent44d3ec593b0afd2f8cfaf2ba2149465ee3541695 (diff)
downloadfocaccia-qemu-84cb7025fa9378993dbd6242ab2c3fa556ed2a2c.tar.gz
focaccia-qemu-84cb7025fa9378993dbd6242ab2c3fa556ed2a2c.zip
target/i386/cpu.c: 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>
Link: https://lore.kernel.org/r/8ee6c2b02c97d5db358c3eb290d00afe71d1ceb7.1745820062.git.ktokunaga.mail@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/cacheflush.c')
0 files changed, 0 insertions, 0 deletions