diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-26 14:31:18 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-26 14:31:18 +0200 |
commit | 78b6dfe3d0f7e5d17ce931cf67307a174188a794 (patch) | |
tree | cd78997267ca833adeee5368a766a20cf7612013 /linux/drivers/media/video | |
parent | 348845609182f6fa1772961bb84b60ee134ddf6b (diff) | |
download | mediapointer-dvb-s2-78b6dfe3d0f7e5d17ce931cf67307a174188a794.tar.gz mediapointer-dvb-s2-78b6dfe3d0f7e5d17ce931cf67307a174188a794.tar.bz2 |
Fix 64-bit compile warnings.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/cx2341x.c | 2 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7134/saa6752hs.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx2341x.c b/linux/drivers/media/video/cx2341x.c index ae37d0513..7bb1fb4ee 100644 --- a/linux/drivers/media/video/cx2341x.c +++ b/linux/drivers/media/video/cx2341x.c @@ -605,7 +605,7 @@ static void cx2341x_calc_audio_properties(struct cx2341x_mpeg_params *params) } int cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params, - struct v4l2_ext_controls *ctrls, int cmd) + struct v4l2_ext_controls *ctrls, unsigned int cmd) { int err = 0; int i; diff --git a/linux/drivers/media/video/saa7134/saa6752hs.c b/linux/drivers/media/video/saa7134/saa6752hs.c index 0422e10e6..f89e6d070 100644 --- a/linux/drivers/media/video/saa7134/saa6752hs.c +++ b/linux/drivers/media/video/saa7134/saa6752hs.c @@ -443,10 +443,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) { |