1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Fixed MSVS warning in the new odometry sample.

This commit is contained in:
Alexander Smorkalov
2026-07-26 10:30:52 +03:00
parent 18b39f1f34
commit 9fcdbaa8b5
+1 -1
View File
@@ -268,7 +268,7 @@ int main(int argc, char** argv)
PoseFilenameTracker poseTracker;
int nEmitted = 0;
const int nDigits = std::to_string(imgFiles.size()).size();
const int nDigits = static_cast<int>(std::to_string(imgFiles.size()).size());
const int64 t0 = getTickCount();
for (size_t i = 0; i < imgFiles.size(); ++i)
{