summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-30 22:22:25 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-30 22:22:25 +0200
commitef8d113a73d6781a841b4736c0344161ee88c091 (patch)
tree4ca9e096b3835a8f661cd050ea329aa3602f53f6
parent2ac1f1c7ee8044eceeacd6f965cc6ed36de56a24 (diff)
pulse: Don't compare values of two different enum types
-rw-r--r--ext/pulse/pulseutil.c2
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;