1 --- media/capture/video/linux/v4l2_capture_delegate.h.orig 2022-08-31 12:19:35 UTC 2 +++ media/capture/video/linux/v4l2_capture_delegate.h 3 @@ -86,10 +86,10 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { 4 // device file descriptor or (re)starting streaming, can fail but works after 5 // retrying (https://crbug.com/670262). Returns false if the |request| ioctl 6 // fails too many times. 7 - bool RunIoctl(int request, void* argp); 8 + bool RunIoctl(unsigned int request, void* argp); 9 10 // Simple wrapper to do HANDLE_EINTR(v4l2_->ioctl(device_fd_.get(), ...)). 11 - int DoIoctl(int request, void* argp); 12 + int DoIoctl(unsigned int request, void* argp); 13 14 // Creates a mojom::RangePtr with the (min, max, current, step) values of the 15 // control associated with |control_id|. Returns an empty Range otherwise. 16