flxdec: fix some warnings comparing unsigned < 0
authorMatthew Waters <matthew@centricular.com>
Tue, 22 Nov 2016 12:46:00 +0000 (23:46 +1100)
committerMatthew Waters <matthew@centricular.com>
Tue, 22 Nov 2016 12:49:18 +0000 (23:49 +1100)
commitfec77de8cbb0c8192b77aff2e563705ba421f2f2
treedea41b463d809a6db281d774305886b1f29b39d7
parent91de259b744d086963ed0cc5a163e6d95afe7d9c
flxdec: fix some warnings comparing unsigned < 0

bf43f44fcfada5ec4a3ce60cb374340486fe9fac was comparing an unsigned
expression to be < 0 which was always false.

gstflxdec.c: In function ‘flx_decode_brun’:
gstflxdec.c:322:33: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
         if ((glong) row - count < 0) {
                                 ^
gstflxdec.c:332:33: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
         if ((glong) row - count < 0) {
                                 ^

https://bugzilla.gnome.org/show_bug.cgi?id=774834
gst/flx/gstflxdec.c