Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions device/libcamera/options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ static std::pair<libcamera::Size, const char*> libcamera_parse_size(const char *
}

#if LIBCAMERA_VERSION_MAJOR == 0 && LIBCAMERA_VERSION_MINOR > 3 && LIBCAMERA_VERSION_PATCH >= 2 // Support for older libcamera versions
static libcamera::Point libcamera_parse_point(const char *value)
static std::pair<libcamera::Point, const char*> libcamera_parse_point(const char *value)
{
static const char *POINT_PATTERNS[] =
{
Expand All @@ -403,7 +403,7 @@ static libcamera::Point libcamera_parse_point(const char *value)
}
}

return std::make_pair(libcamera::Point(), NULL);
return std::make_pair(libcamera::Point(), (const char*)NULL);
}
#endif

Expand Down