fixed warnings

This commit is contained in:
matlabbe
2016-03-07 15:03:17 -05:00
parent 7a1cf84b08
commit 3ff4b4c439
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -3107,7 +3107,7 @@ Signature * Memory::createSignature(const SensorData & data, const Transform & p
}
std::vector<cv::Point3f> keypoints3D;
if(!_useOdometryFeatures || data.keypoints().empty() || data.keypoints().size() != data.descriptors().rows)
if(!_useOdometryFeatures || data.keypoints().empty() || (int)data.keypoints().size() != data.descriptors().rows)
{
if(_feature2D->getMaxFeatures() >= 0 && !data.imageRaw().empty() && !isIntermediateNode)
{