From c34bb0ed031d10aabf9bcabd57543ff1bd6b845c Mon Sep 17 00:00:00 2001 From: StevenPuttemans Date: Thu, 14 Apr 2016 13:48:11 +0200 Subject: [PATCH] remove warnings generated during TS module tests --- modules/ts/include/opencv2/ts/ts_perf.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ts/include/opencv2/ts/ts_perf.hpp b/modules/ts/include/opencv2/ts/ts_perf.hpp index 703aed013a..a300487e03 100644 --- a/modules/ts/include/opencv2/ts/ts_perf.hpp +++ b/modules/ts/include/opencv2/ts/ts_perf.hpp @@ -300,7 +300,7 @@ typedef struct ImplData { std::vector out; - for(int i = 0; i < implCode.size(); i++) + for(int i = 0; i < (int)implCode.size(); i++) { if(impl == implCode[i]) out.push_back(funName[i]); @@ -314,10 +314,10 @@ typedef struct ImplData std::vector savedCode; std::vector savedName; - for(int i = 0; i < implCode.size(); i++) + for(int i = 0; i < (int)implCode.size(); i++) { bool match = false; - for(int j = 0; j < savedCode.size(); j++) + for(int j = 0; j < (int)savedCode.size(); j++) { if(implCode[i] == savedCode[j] && !funName[i].compare(savedName[j])) {