diff --git a/veejay-current/veejay-server/libvje/effects/greyselect.c b/veejay-current/veejay-server/libvje/effects/greyselect.c index 8b66ffcb..9c3bca20 100644 --- a/veejay-current/veejay-server/libvje/effects/greyselect.c +++ b/veejay-current/veejay-server/libvje/effects/greyselect.c @@ -17,12 +17,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 , USA. */ -#include -#include -#include -#include -#include + #include "common.h" +#include #include "greyselect.h" vj_effect *greyselect_init(int w, int h) @@ -66,7 +63,7 @@ vj_effect *greyselect_init(int w, int h) void greyselect_apply( VJFrame *frame, int i_angle, int r, int g, int b, int swap) { - const int len = frame->len; + const unsigned int len = frame->len; uint8_t *fg_cb, *fg_cr; int accept_angle_tg; int cb, cr;