mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:01:48 +08:00
14 lines
525 B
Diff
14 lines
525 B
Diff
diff --git a/src/cpp/flann/algorithms/dist.h b/src/cpp/flann/algorithms/dist.h
|
|
index 4e6eb73..bbcdda1 100644
|
|
--- a/src/cpp/flann/algorithms/dist.h
|
|
+++ b/src/cpp/flann/algorithms/dist.h
|
|
@@ -519,7 +519,7 @@ struct HammingPopcnt
|
|
#else
|
|
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;
|
|
}
|