diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-encoder.c | 6 |
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 d944081072e6..2cc31695b435 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, | |||
176 | " - too many input arguments" | 176 | " - too many input arguments" |
177 | " (was given %u limit %u)", | 177 | " (was given %u limit %u)", |
178 | arg_cnt_send, | 178 | arg_cnt_send, |
179 | (sizeof(wrData)/sizeof(wrData[0])) - 4); | 179 | (unsigned int)(sizeof(wrData)/sizeof(wrData[0])) - 4); |
180 | return -EINVAL; | 180 | return -EINVAL; |
181 | } | 181 | } |
182 | 182 | ||
@@ -187,7 +187,7 @@ static int pvr2_encoder_cmd(void *ctxt, | |||
187 | " - too many return arguments" | 187 | " - too many return arguments" |
188 | " (was given %u limit %u)", | 188 | " (was given %u limit %u)", |
189 | arg_cnt_recv, | 189 | arg_cnt_recv, |
190 | (sizeof(rdData)/sizeof(rdData[0])) - 4); | 190 | (unsigned int)(sizeof(rdData)/sizeof(rdData[0])) - 4); |
191 | return -EINVAL; | 191 | return -EINVAL; |
192 | } | 192 | } |
193 | 193 | ||
@@ -275,7 +275,7 @@ static int pvr2_encoder_vcmd(struct pvr2_hdw *hdw, int cmd, | |||
275 | "Failed to write cx23416 command" | 275 | "Failed to write cx23416 command" |
276 | " - too many arguments" | 276 | " - too many arguments" |
277 | " (was given %u limit %u)", | 277 | " (was given %u limit %u)", |
278 | args,sizeof(data)/sizeof(data[0])); | 278 | args,(unsigned int)(sizeof(data)/sizeof(data[0]))); |
279 | return -EINVAL; | 279 | return -EINVAL; |
280 | } | 280 | } |
281 | 281 | ||