From 66f4b49c060bf9b2e7ce6c55bc148e27499f38fd Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 27 Jun 2006 00:03:43 -0300 Subject: Fix warning when compiling on 64 bit machines From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux/drivers/media/video/pvrusb2') diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c index 5b68bad01..b6ee5b112 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c @@ -198,7 +198,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; } @@ -209,7 +209,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; } @@ -308,7 +308,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; } -- cgit v1.2.3