diff --git a/mythtv/filters/yadif/filter_yadif.c b/mythtv/filters/yadif/filter_yadif.c
index 5e559d0..cd2c1e3 100644
--- a/mythtv/filters/yadif/filter_yadif.c
+++ b/mythtv/filters/yadif/filter_yadif.c
@@ -306,7 +306,7 @@ static void filter_line_mmx2(struct ThisFilter *p, uint8_t *dst,
 \
             /* if (p->mode<2) ... */\
             "movq    %[tmp3], %%mm6 \n\t" /* diff */\
-            "cmp       $2, %[mode] \n\t"\
+            "cmpl      $2, %[mode] \n\t"\
             "jge       1f \n\t"\
             LOAD4("(%["prev2"],%[mrefs],2)", %%mm2) /* prev2[x-2*refs] */\
             LOAD4("(%["next2"],%[mrefs],2)", %%mm4) /* next2[x-2*refs] */\
