Skip to content

Commit

Permalink
V4L/DVB (4263): Fix warning when compiling on 64 bit machines
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mauro Carvalho Chehab committed Jun 27, 2006
1 parent ce4260c commit c78059f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/video/pvrusb2/pvrusb2-encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static int pvr2_encoder_cmd(void *ctxt,
" - too many input arguments"
" (was given %u limit %u)",
arg_cnt_send,
(sizeof(wrData)/sizeof(wrData[0])) - 4);
(unsigned int)(sizeof(wrData)/sizeof(wrData[0])) - 4);
return -EINVAL;
}

Expand All @@ -187,7 +187,7 @@ static int pvr2_encoder_cmd(void *ctxt,
" - too many return arguments"
" (was given %u limit %u)",
arg_cnt_recv,
(sizeof(rdData)/sizeof(rdData[0])) - 4);
(unsigned int)(sizeof(rdData)/sizeof(rdData[0])) - 4);
return -EINVAL;
}

Expand Down Expand Up @@ -275,7 +275,7 @@ static int pvr2_encoder_vcmd(struct pvr2_hdw *hdw, int cmd,
"Failed to write cx23416 command"
" - too many arguments"
" (was given %u limit %u)",
args,sizeof(data)/sizeof(data[0]));
args,(unsigned int)(sizeof(data)/sizeof(data[0])));
return -EINVAL;
}

Expand Down

0 comments on commit c78059f

Please sign in to comment.