projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e85566
)
fixed some warnings
author
Alexey Spizhevoy
<no@email>
Tue, 1 Mar 2011 08:02:27 +0000
(08:02 +0000)
committer
Alexey Spizhevoy
<no@email>
Tue, 1 Mar 2011 08:02:27 +0000
(08:02 +0000)
samples/gpu/performance/tests.cpp
patch
|
blob
|
history
diff --git
a/samples/gpu/performance/tests.cpp
b/samples/gpu/performance/tests.cpp
index
77d8621
..
a4db160
100644
(file)
--- a/
samples/gpu/performance/tests.cpp
+++ b/
samples/gpu/performance/tests.cpp
@@
-761,7
+761,7
@@
TEST(projectPoints)
camera_mat.at<float>(2, 0) = 0.f;
\r
camera_mat.at<float>(2, 1) = 0.f;
\r
\r
- for (int size =
1e6, count = 0; size >= 1e5 && count < 5; size /= 1.4
, count++)
\r
+ for (int size =
(int)1e6, count = 0; size >= 1e5 && count < 5; size = int(size / 1.4)
, count++)
\r
{
\r
SUBTEST << "size " << size;
\r
\r