From 4ec5fb43f0905b792ecdde99159a13742e7513c3 Mon Sep 17 00:00:00 2001 From: Alexey Spizhevoy Date: Tue, 1 Mar 2011 08:02:27 +0000 Subject: [PATCH] fixed some warnings --- samples/gpu/performance/tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/gpu/performance/tests.cpp b/samples/gpu/performance/tests.cpp index 77d8621d6f..a4db160869 100644 --- a/samples/gpu/performance/tests.cpp +++ b/samples/gpu/performance/tests.cpp @@ -761,7 +761,7 @@ TEST(projectPoints) camera_mat.at(2, 0) = 0.f; camera_mat.at(2, 1) = 0.f; - for (int size = 1e6, count = 0; size >= 1e5 && count < 5; size /= 1.4, count++) + for (int size = (int)1e6, count = 0; size >= 1e5 && count < 5; size = int(size / 1.4), count++) { SUBTEST << "size " << size;