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:
d85f27b
)
Fix build error
author
peng xiao
<hisenxpress@gmail.com>
Fri, 31 May 2013 09:29:55 +0000
(17:29 +0800)
committer
peng xiao
<hisenxpress@gmail.com>
Fri, 31 May 2013 09:29:55 +0000
(17:29 +0800)
samples/ocl/surf_matcher.cpp
patch
|
blob
|
history
diff --git
a/samples/ocl/surf_matcher.cpp
b/samples/ocl/surf_matcher.cpp
index
8734e3f
..
038a8dc
100644
(file)
--- a/
samples/ocl/surf_matcher.cpp
+++ b/
samples/ocl/surf_matcher.cpp
@@
-350,7
+350,7
@@
int main(int argc, char* argv[])
else
{
bool result = false;
- for(
in
t i = 0; i < cpu_corner.size(); i++)
+ for(
size_
t i = 0; i < cpu_corner.size(); i++)
{
if((std::abs(cpu_corner[i].x - gpu_corner[i].x) > 10)
||(std::abs(cpu_corner[i].y - gpu_corner[i].y) > 10))