Message ID | 20240319120517.362082-7-stefan.klug@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
diff --git a/include/libcamera/internal/delayed_controls.h b/include/libcamera/internal/delayed_controls.h index 4f8d2424..0e28106a 100644 --- a/include/libcamera/internal/delayed_controls.h +++ b/include/libcamera/internal/delayed_controls.h @@ -52,7 +52,7 @@ private: }; /* \todo Make the listSize configurable at instance creation time. */ - static constexpr int listSize = 16; + static constexpr unsigned int listSize = 16; class ControlRingBuffer : public std::array<Info, listSize> { public:
Make listSize unsigned, so that later calculations with other unsigned ints don't require casts. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> --- include/libcamera/internal/delayed_controls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)