diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-12 01:29:50 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-06 18:10:18 +0200 |
commit | 9c6d32fcf3198cc83cff6af3c9393e94c88bf9b9 (patch) | |
tree | 12c54865325dcf8a73c84f2abe1c190068d7ffd0 /src/qcam/format_converter.h | |
parent | dd0923960040a0a8832b581c7a7e8d3a14b5061f (diff) |
libcamera: controls: Don't convert 32-bit and 64-bit implicitly
The ControlValue::get<T>() method verifies that the T type corresponds
to the ControlValue type. It however accepts int32_t as a return type
for 64-bit integer controls, and int64_t as a return type for 32-bit
integer controls. There's no reason to do so anymore, make the type
check stricter.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/format_converter.h')
0 files changed, 0 insertions, 0 deletions