summaryrefslogtreecommitdiffstats
path: root/ext/hermes
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hermes')
-rw-r--r--ext/hermes/gsthermescolorspace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hermes/gsthermescolorspace.c b/ext/hermes/gsthermescolorspace.c
index ed7639ba..7eab4e49 100644
--- a/ext/hermes/gsthermescolorspace.c
+++ b/ext/hermes/gsthermescolorspace.c
@@ -329,9 +329,9 @@ static void
gst_hermes_colorspace_structure_to_hermes_format (HermesFormat * format,
GstStructure * structure)
{
- gst_structure_get_int (structure, "red_mask", &format->r);
- gst_structure_get_int (structure, "green_mask", &format->g);
- gst_structure_get_int (structure, "blue_mask", &format->b);
+ gst_structure_get_int (structure, "red_mask", (gint *) & format->r);
+ gst_structure_get_int (structure, "green_mask", (gint *) & format->g);
+ gst_structure_get_int (structure, "blue_mask", (gint *) & format->b);
format->a = 0;
gst_structure_get_int (structure, "bpp", &format->bits);
format->indexed = 0;