From 2ed8f2e503c19e4edae73e458414e5a0fe9cf9cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 22 Apr 2014 18:28:10 +0200 Subject: [PATCH] audioresample: Don't left-shift into the sign bit, instead use unsigned integers --- gst/audioresample/resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c index ee67617..d4df979 100644 --- a/gst/audioresample/resample.c +++ b/gst/audioresample/resample.c @@ -1046,7 +1046,7 @@ speex_resampler_init_frac (spx_uint32_t nb_channels, spx_uint32_t ratio_num, unsigned int flags = orc_target_get_default_flags (target); check_insn_set (st, orc_target_get_name (target)); for (i = 0; i < 32; ++i) { - if (flags & (1 << i)) { + if (flags & (1U << i)) { check_insn_set (st, orc_target_get_flag_name (target, i)); } } -- 2.7.4