Biswapriyo Nath
|
7e7d22e7d2
|
ytk: Fix function pointer casting compiler error with clang
This fixes the following compiler error.
../libs/tk/ytk/gtkscale.c:1474:50: error: incompatible function pointer types passing
'GCompareFunc' (aka 'int (*)(const void *, const void *)') to parameter of type
'GCompareDataFunc' (aka 'int (*)(const void *, const void *, void *)') [-Wincompatible-function-pointer-types]
(GCompareFunc) compare_marks,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gslist.h:76:26: note: passing argument to parameter 'func' here
GCompareDataFunc func,
^
|
2024-02-21 13:30:23 +01:00 |
|