Skip to content

Commit

Permalink
V4L/DVB (4257): Fix 64-bit compile warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Jun 27, 2006
1 parent f5b0142 commit 4d6b5ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/cx2341x.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,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;
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/video/saa7134/saa6752hs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion include/media/cx2341x.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int cx2341x_ctrl_query(struct cx2341x_mpeg_params *params,
struct v4l2_queryctrl *qctrl);
const char **cx2341x_ctrl_get_menu(u32 id);
int cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params,
struct v4l2_ext_controls *ctrls, int cmd);
struct v4l2_ext_controls *ctrls, unsigned int cmd);
void cx2341x_fill_defaults(struct cx2341x_mpeg_params *p);
void cx2341x_log_status(struct cx2341x_mpeg_params *p, int cardid);

Expand Down

0 comments on commit 4d6b5ae

Please sign in to comment.