diff --git a/examples/dynparams/filter.c b/examples/dynparams/filter.c index 6b80c3f906..39240500d9 100644 --- a/examples/dynparams/filter.c +++ b/examples/dynparams/filter.c @@ -61,7 +61,7 @@ gst_bin_find_unconnected_pad (GstBin *bin, GstPadDirection direction, { GstPad *pad = NULL; GList *elements = NULL; - GList *pads = NULL; + const GList *pads = NULL; GstElement *element = NULL; g_print ("DEBUG: find_unconnected start\n"); diff --git a/gst-libs/gst/gconf/gconf.c b/gst-libs/gst/gconf/gconf.c index 3a5f79d5a4..3da2c310a7 100644 --- a/gst-libs/gst/gconf/gconf.c +++ b/gst-libs/gst/gconf/gconf.c @@ -26,7 +26,7 @@ gst_bin_find_unconnected_pad (GstBin *bin, GstPadDirection direction) { GstPad *pad = NULL; GList *elements = NULL; - GList *pads = NULL; + const GList *pads = NULL; GstElement *element = NULL; elements = (GList *) gst_bin_get_list (bin);