[clutter-gst] video-sink: silent warning on comparison
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gst] video-sink: silent warning on comparison
- Date: Thu, 13 Oct 2011 13:05:24 +0000 (UTC)
commit 49d5c341acc7447b760f90960f7bdc905380f210
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date: Thu Oct 13 10:45:36 2011 +0100
video-sink: silent warning on comparison
clutter-gst/clutter-gst-video-sink.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index 39f4de8..22a5a2f 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -1101,12 +1101,12 @@ clutter_gst_video_sink_set_caps (GstBaseSink *bsink,
if (mask < 0x1000000)
{
priv->format = CLUTTER_GST_RGB24;
- priv->bgr = (red_mask == 0xff0000) ? FALSE : TRUE;
+ priv->bgr = ((guint) red_mask == 0xff0000) ? FALSE : TRUE;
}
else
{
priv->format = CLUTTER_GST_RGB32;
- priv->bgr = (red_mask == 0xff000000) ? FALSE : TRUE;
+ priv->bgr = ((guint) red_mask == 0xff000000) ? FALSE : TRUE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]