summaryrefslogtreecommitdiff
path: root/clutter-gst/clutter-gst-video-sink.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2011-09-21 13:39:29 +0100
committerThomas Wood <thomas.wood@intel.com>2011-09-21 13:39:29 +0100
commitf92a80288a57cc0fbc58a74e3a143b7318649557 (patch)
tree02fca5ab630442b75d727466ca9fc9fadf5bdd4b /clutter-gst/clutter-gst-video-sink.c
parent2b1af061eabe3f76877c8a083430b4d7892bfd8f (diff)
downloadclutter-gst-f92a80288a57cc0fbc58a74e3a143b7318649557.tar.gz
Add "-Wsign-compare" to the maintainer flags and fix the resulting warnings
Diffstat (limited to 'clutter-gst/clutter-gst-video-sink.c')
-rw-r--r--clutter-gst/clutter-gst-video-sink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index f2c79e5..3246693 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -998,7 +998,7 @@ clutter_gst_video_sink_set_caps (GstBaseSink *bsink,
const GValue *par;
gint width, height;
guint32 fourcc;
- int red_mask, blue_mask;
+ guint red_mask, blue_mask;
sink = CLUTTER_GST_VIDEO_SINK(bsink);
priv = sink->priv;
@@ -1064,8 +1064,8 @@ clutter_gst_video_sink_set_caps (GstBaseSink *bsink,
else
{
guint32 mask;
- gst_structure_get_int (structure, "red_mask", &red_mask);
- gst_structure_get_int (structure, "blue_mask", &blue_mask);
+ gst_structure_get_uint (structure, "red_mask", &red_mask);
+ gst_structure_get_uint (structure, "blue_mask", &blue_mask);
mask = red_mask | blue_mask;
if (mask < 0x1000000)