tests: Fix -Wcast-function-type warnings with GCC 8
glib documentation says G_SOURCE_FUNC() macro should be used to suppress the warning about incompatible function types when the function will be cast back to the correct type before it is called by the GSource.
Showing
Please register or sign in to comment