diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-04-30 22:22:25 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-04-30 22:22:25 +0200 |
commit | ef8d113a73d6781a841b4736c0344161ee88c091 (patch) | |
tree | 4ca9e096b3835a8f661cd050ea329aa3602f53f6 | |
parent | 2ac1f1c7ee8044eceeacd6f965cc6ed36de56a24 (diff) |
pulse: Don't compare values of two different enum types
-rw-r--r-- | ext/pulse/pulseutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pulse/pulseutil.c b/ext/pulse/pulseutil.c index 8cccb7312..73d32980c 100644 --- a/ext/pulse/pulseutil.c +++ b/ext/pulse/pulseutil.c @@ -180,7 +180,7 @@ gst_pulse_channel_map_to_gst (const pa_channel_map * map, if (map->map[i] == PA_CHANNEL_POSITION_INVALID) { invalid = TRUE; break; - } else if (map->map[i] < GST_AUDIO_CHANNEL_POSITION_NUM) { + } else if ((int) map->map[i] < (int) GST_AUDIO_CHANNEL_POSITION_NUM) { pos[i] = pa_to_gst_pos[map->map[i] + 1]; } else { invalid = TRUE; |