V4L/DVB (4257): Fix 64-bit compile warnings.
[deliverable/linux.git] / drivers / media / video / saa7134 / saa6752hs.c
index de7b9e6e932a9b70aec1e53e2ff5d3ff985369c9..afc8f352b8e713ea66c9a15a50f0fcb05f24ba31 100644 (file)
@@ -432,10 +432,10 @@ static void saa6752hs_old_set_params(struct i2c_client* client,
 }
 
 static int handle_ctrl(struct saa6752hs_mpeg_params *params,
-               struct v4l2_ext_control *ctrl, int cmd)
+               struct v4l2_ext_control *ctrl, unsigned int cmd)
 {
        int old = 0, new;
-       int set = cmd == VIDIOC_S_EXT_CTRLS;
+       int set = (cmd == VIDIOC_S_EXT_CTRLS);
 
        new = ctrl->value;
        switch (ctrl->id) {
This page took 0.025881 seconds and 5 git commands to generate.