aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-27 00:03:43 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-27 00:17:43 -0300
commitc78059f0a948404fb515db6be4bca5ec93eecd2a (patch)
tree6c1fc7cc3a57db60414863bbd38bfce674c540bb
parentce4260c39d7e6d97aad525e5ce726b755ee0dcb2 (diff)
V4L/DVB (4263): Fix warning when compiling on 64 bit machines
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-encoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-encoder.c b/drivers/media/video/pvrusb2/pvrusb2-encoder.c
index d944081072e..2cc31695b43 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-encoder.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-encoder.c
@@ -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;
}
@@ -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;
}
@@ -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;
}