diff options
author | Mike Isely <isely@pobox.com> | 2008-03-07 22:02:20 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2008-03-07 22:02:20 -0600 |
commit | 5f7df950fabcf3ef66483ada9548c4e832d0c9c4 (patch) | |
tree | ffe6c226bd1a9038c36ec6e816fe8c46343c10ff /linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c | |
parent | 13e0a995ae95132a49c44b9e80e51615d84540df (diff) | |
download | mediapointer-dvb-s2-5f7df950fabcf3ef66483ada9548c4e832d0c9c4.tar.gz mediapointer-dvb-s2-5f7df950fabcf3ef66483ada9548c4e832d0c9c4.tar.bz2 |
pvrusb2: Fix compilation warning
From: Mike Isely <isely@pobox.com>
Fix use of a non-int (size_t) being passed in a printf width field.
This benign issue has apparently been around for a long time, but went
undetected until now.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c index d6de60c24..f672473dd 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c @@ -290,7 +290,7 @@ static ssize_t store_val_norm(int id,struct device *class_dev, int ret; sfp = (struct pvr2_sysfs *)class_dev->driver_data; pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_norm(cid=%d) \"%.*s\"", - sfp,id,count,buf); + sfp,id,(int)count,buf); ret = store_val_any(id,0,sfp,buf,count); if (!ret) ret = count; return ret; @@ -303,7 +303,7 @@ static ssize_t store_val_custom(int id,struct device *class_dev, int ret; sfp = (struct pvr2_sysfs *)class_dev->driver_data; pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_custom(cid=%d) \"%.*s\"", - sfp,id,count,buf); + sfp,id,(int)count,buf); ret = store_val_any(id,1,sfp,buf,count); if (!ret) ret = count; return ret; |