diff --git a/modules/line_descriptor/CMakeLists.txt b/modules/line_descriptor/CMakeLists.txt index 1774c6fabe..91a54ce3ee 100644 --- a/modules/line_descriptor/CMakeLists.txt +++ b/modules/line_descriptor/CMakeLists.txt @@ -1,4 +1,4 @@ set(the_description "Line descriptor") -ocv_define_module(line_descriptor opencv_features2d opencv_imgproc opencv_optim) +ocv_define_module(line_descriptor opencv_features2d opencv_imgproc opencv_highgui) diff --git a/modules/line_descriptor/src/binary_descriptor_matcher.cpp b/modules/line_descriptor/src/binary_descriptor_matcher.cpp index 0e10a52419..54b17869e4 100644 --- a/modules/line_descriptor/src/binary_descriptor_matcher.cpp +++ b/modules/line_descriptor/src/binary_descriptor_matcher.cpp @@ -871,7 +871,7 @@ BinaryDescriptorMatcher::BucketGroup::~BucketGroup() { } - void BinaryDescriptorMatcher::BucketGroup::insert_value( std::vector& vec, int index, UINT32 data ) +void BinaryDescriptorMatcher::BucketGroup::insert_value( std::vector& vec, int index, UINT32 data ) { if( vec.size() > 1 ) { @@ -915,7 +915,7 @@ void BinaryDescriptorMatcher::BucketGroup::push_value( std::vector& ve else { - vec = std::vector < uint32_t > ( 2 + ARRAY_RESIZE_ADD_FACTOR, 0 ); + vec = std::vector < uint32_t > ( 2 + (uint32_t) ARRAY_RESIZE_ADD_FACTOR, 0 ); vec[0] = 1; vec[1] = 1; vec[2] = Data;