diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2021-01-25 08:19:32 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-01-27 01:57:55 +0200 |
commit | 34897234d10ce8fafd95121fb12f28a2477d99e0 (patch) | |
tree | f43056320302755f77e610af84262ccab74a8f3f /.clang-format | |
parent | a258aa4615e0dec756ec77cd940744c536e56f44 (diff) |
ipa: raspberrypi: Cast FrameDurations limits to 64-bit integer
At startup, ControlInfoMap::generateIdmap() threw a log message warning
that the controls::FrameDurations had a type mismatch based on the
min/max values provided in libcamera::RPi::Controls initialiser.
Fix this warning by forcing the integer constants to be 64-bit wide by
using the INT64_C() macro.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions