fixed memory issue in flann

pull/13270/head
1over 6 years ago
parent 342366e314
commit 5ff76088b9
  1. 3
      modules/flann/include/opencv2/flann/dist.h

@ -462,10 +462,9 @@ struct Hamming
}
}
#else // NO NEON and NOT GNUC
typedef unsigned long long pop_t;
HammingLUT lut;
result = lut(reinterpret_cast<const unsigned char*> (a),
reinterpret_cast<const unsigned char*> (b), size * sizeof(pop_t));
reinterpret_cast<const unsigned char*> (b), size);
#endif
return result;
}

Loading…
Cancel
Save