summaryrefslogtreecommitdiff
path: root/modules/camera/3_4/capture_request.cpp
diff options
context:
space:
mode:
authorSergii Piatakov <sergii.piatakov@globallogic.com>2018-10-10 17:47:03 +0300
committerSergii Piatakov <sergii.piatakov@globallogic.com>2018-10-10 17:49:02 +0300
commit028763d9292a201f34fea501a20f484e8e0ed4fd (patch)
tree2fe102824ea9871298fe25bc5918c28a9fb164da /modules/camera/3_4/capture_request.cpp
parentc8096012179a66163720ba7373e7bdbf42862a58 (diff)
camera: avoid narrowing of the ioctl request
The `ioctl` take request of the `unsinged long` type but current implementation narrows it up to `int`. Test: if add something like this into `IoctlLocked`: ``` switch (request) { case VIDIOC_QBUF: break; default:; } ``` the following error is appears: "error: case value evaluates to 3227014671, which cannot be narrowed to type 'int' [-Wc++11-narrowing]". Change-Id: Icb1c99e082feb0c019393205a4b0b717ddc09c05 Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
Diffstat (limited to 'modules/camera/3_4/capture_request.cpp')
0 files changed, 0 insertions, 0 deletions