Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
quickcam
qc-usb-qc_v4l_read-prototype.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qc-usb-qc_v4l_read-prototype.patch of Package quickcam
qc-driver.c:2983: warning: initialization from incompatible pointer type qc-driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: qc-usb-0.6.4/qc-driver.c =================================================================== --- qc-usb-0.6.4.orig/qc-driver.c +++ qc-usb-0.6.4/qc-driver.c @@ -2400,7 +2400,7 @@ static void qc_v4l_close(struct video_de /* }}} */ /* {{{ [fold] qc_v4l_read(struct video_device *dev, char *buf, unsigned long count, int noblock) */ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -static int qc_v4l_read(struct file *file, char *buf, size_t count, loff_t *ppos) +static ssize_t qc_v4l_read(struct file *file, char *buf, size_t count, loff_t *ppos) #else static long qc_v4l_read(struct video_device *dev, char *buf, unsigned long count, int noblock) #endif @@ -2412,7 +2412,7 @@ static long qc_v4l_read(struct video_dev struct quickcam *qc = (struct quickcam *)dev->priv; int frame_len; unsigned char *frame; - long r = 0; + ssize_t r = 0; if (qcdebug&QC_DEBUGLOGIC || qcdebug&QC_DEBUGUSER) PDEBUG("qc_v4l_read(dev=%p,buf=%p,count=%li,noblock=%i,qc=%p)",dev,buf,(long)count,noblock,qc);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor