From ef8d113a73d6781a841b4736c0344161ee88c091 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 30 Apr 2010 22:22:25 +0200 Subject: [PATCH] pulse: Don't compare values of two different enum types --- ext/pulse/pulseutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pulse/pulseutil.c b/ext/pulse/pulseutil.c index 8cccb73..73d3298 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; -- 2.7.4