summaryrefslogtreecommitdiff
path: root/libyelp/yelp-transform.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2018-05-18 09:56:16 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2018-05-18 09:57:38 -0500
commitb8fdfcae060bdffb15d81e68cdff011105013eb0 (patch)
tree14736794d498fc4f0ea9b085f59177fad9d33994 /libyelp/yelp-transform.c
parent0caa15097ab7595b6a5031ccf1fb75ffb8929d0f (diff)
downloadyelp-b8fdfcae060bdffb15d81e68cdff011105013eb0.tar.gz
Fix build with GCC 8
Yelp enables -Werror by default, so it's responsible for predicting and fixing future compiler warnings that only an oracle could know about. In this case, that turned out to be -Werror=cast-function-type.
Diffstat (limited to 'libyelp/yelp-transform.c')
-rw-r--r--libyelp/yelp-transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libyelp/yelp-transform.c b/libyelp/yelp-transform.c
index 334438af..7a5dc86e 100644
--- a/libyelp/yelp-transform.c
+++ b/libyelp/yelp-transform.c
@@ -298,7 +298,7 @@ yelp_transform_start (YelpTransform *transform,
priv->running = TRUE;
g_object_ref (transform);
priv->thread = g_thread_new ("transform-run",
- (GThreadFunc) transform_run,
+ (GThreadFunc)(GCallback) transform_run,
transform);
g_mutex_unlock (&priv->mutex);