summaryrefslogtreecommitdiff
path: root/linux
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:03:43 -0300
commit66f4b49c060bf9b2e7ce6c55bc148e27499f38fd (patch)
tree593d1672dab53f998885b0d4e27119669faf02fd /linux
parent34fa9aa067a4da70af37fb46f02c31b85f8a4372 (diff)
downloadmediapointer-dvb-s2-66f4b49c060bf9b2e7ce6c55bc148e27499f38fd.tar.gz
mediapointer-dvb-s2-66f4b49c060bf9b2e7ce6c55bc148e27499f38fd.tar.bz2
Fix warning when compiling on 64 bit machines
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c6
1 files changed, 3 insertions, 3 deletions
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;
}