Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: pass VIDIOC_QUERYCAP as unsigned long
VIDIOC_QUARYCAP is an unsigned long and should be passed as one. Get rid of the following error: core/libcamera_app.cpp:33:22: error: overflow in conversion from 'long unsigned int' to 'int' changes value from '2154321408' to '-2140645888' [-Werror=overflow] 33 | int ret = ioctl(fd, VIDIOC_QUERYCAP, &caps); Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
- Loading branch information