summaryrefslogtreecommitdiffstats
path: root/gst/smpte/gstmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/smpte/gstmask.c')
-rw-r--r--gst/smpte/gstmask.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/smpte/gstmask.c b/gst/smpte/gstmask.c
index 0e2cf01f..dfb856c2 100644
--- a/gst/smpte/gstmask.c
+++ b/gst/smpte/gstmask.c
@@ -41,10 +41,11 @@ gst_mask_compare (GstMaskDefinition * def1, GstMaskDefinition * def2)
}
void
-_gst_mask_register (GstMaskDefinition * definition)
+_gst_mask_register (const GstMaskDefinition * definition)
{
masks =
- g_list_insert_sorted (masks, definition, (GCompareFunc) gst_mask_compare);
+ g_list_insert_sorted (masks, (gpointer) definition,
+ (GCompareFunc) gst_mask_compare);
}
const GList *