projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4ae0cf
)
Fix an incorrect type cast.
author
peng xiao
<hisenxpress@gmail.com>
Thu, 11 Apr 2013 08:59:32 +0000
(16:59 +0800)
committer
peng xiao
<hisenxpress@gmail.com>
Thu, 11 Apr 2013 08:59:32 +0000
(16:59 +0800)
modules/ocl/src/initialization.cpp
patch
|
blob
|
history
diff --git
a/modules/ocl/src/initialization.cpp
b/modules/ocl/src/initialization.cpp
index
fb528e0
..
2d548cb
100644
(file)
--- a/
modules/ocl/src/initialization.cpp
+++ b/
modules/ocl/src/initialization.cpp
@@
-1053,7
+1053,7
@@
BOOL WINAPI DllMain( HINSTANCE, DWORD fdwReason, LPVOID )
Context* cv_ctx = Context::getContext();
if(cv_ctx)
{
- cl_context ctx =
(cl_context)&(cv_ctx->impl->oclcontext)
;
+ cl_context ctx =
cv_ctx->impl->oclcontext
;
if(ctx)
openCLSafeCall(clReleaseContext(ctx));
}