@@ -58,7 +58,7 @@ public:
unsigned int length;
};
- FrameBuffer(Span<const Plane> planes, unsigned int cookie = 0);
+ FrameBuffer(Span<const Plane> planes, uint64_t cookie = 0);
FrameBuffer(std::unique_ptr<Private> d);
virtual ~FrameBuffer() {}
@@ -315,7 +315,7 @@ ino_t fileDescriptorInode(const SharedFD &fd)
* \param[in] planes The frame memory planes
* \param[in] cookie Cookie
*/
-FrameBuffer::FrameBuffer(Span<const Plane> planes, unsigned int cookie)
+FrameBuffer::FrameBuffer(Span<const Plane> planes, uint64_t cookie)
: FrameBuffer(std::make_unique<Private>(planes, cookie))
{
}
The cookie has type `uint64_t`, but the constructor argument is of type `unsigned int`. Fix that. Unfortunately this is a public API and ABI change. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> --- include/libcamera/framebuffer.h | 2 +- src/libcamera/framebuffer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)