diff options
author | Thomas Wood <thomas.wood@intel.com> | 2011-09-21 13:39:29 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2011-09-21 13:39:29 +0100 |
commit | f92a80288a57cc0fbc58a74e3a143b7318649557 (patch) | |
tree | 02fca5ab630442b75d727466ca9fc9fadf5bdd4b /clutter-gst/clutter-gst-player.c | |
parent | 2b1af061eabe3f76877c8a083430b4d7892bfd8f (diff) | |
download | clutter-gst-f92a80288a57cc0fbc58a74e3a143b7318649557.tar.gz |
Add "-Wsign-compare" to the maintainer flags and fix the resulting warnings
Diffstat (limited to 'clutter-gst/clutter-gst-player.c')
-rw-r--r-- | clutter-gst/clutter-gst-player.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-player.c b/clutter-gst/clutter-gst-player.c index cfbbbf1..2265137 100644 --- a/clutter-gst/clutter-gst-player.c +++ b/clutter-gst/clutter-gst-player.c @@ -1023,7 +1023,7 @@ bus_message_duration_cb (GstBus *bus, /* GstElements send a duration message on the bus with GST_CLOCK_TIME_NONE * as duration to signal a new duration */ gst_message_parse_duration (message, NULL, &duration); - if (G_UNLIKELY (duration != GST_CLOCK_TIME_NONE)) + if (G_UNLIKELY ((GstClockTime) duration != GST_CLOCK_TIME_NONE)) return; query_duration (player); @@ -2201,7 +2201,7 @@ clutter_gst_player_set_audio_stream (ClutterGstPlayer *player, priv = PLAYER_GET_PRIVATE (player); g_return_if_fail (index_ >= 0 && - index_ < g_list_length (priv->audio_streams)); + index_ < (gint) g_list_length (priv->audio_streams)); CLUTTER_GST_NOTE (AUDIO_STREAM, "set audio audio stream to #%d", index_); @@ -2298,7 +2298,7 @@ clutter_gst_player_set_subtitle_track (ClutterGstPlayer *player, priv = PLAYER_GET_PRIVATE (player); g_return_if_fail (index_ >= -1 && - index_ < g_list_length (priv->subtitle_tracks)); + index_ < (gint) g_list_length (priv->subtitle_tracks)); CLUTTER_GST_NOTE (SUBTITLES, "set subtitle track to #%d", index_); |