Commit ca5455c5 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #13270 from 1over:flann_dist_fix

parents 82f4322d 5ff76088
...@@ -462,10 +462,9 @@ struct Hamming ...@@ -462,10 +462,9 @@ struct Hamming
} }
} }
#else // NO NEON and NOT GNUC #else // NO NEON and NOT GNUC
typedef unsigned long long pop_t;
HammingLUT lut; HammingLUT lut;
result = lut(reinterpret_cast<const unsigned char*> (a), 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 #endif
return result; return result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment