Commit 602d3434 authored by David Gobbi's avatar David Gobbi Committed by Code Review

Merge topic '15358-win32vid-cast' into master

bdc156e2 BUG 15358: Remove inappropriate cast from pointer to long.
parents 73bef6d3 bdc156e2
......@@ -349,7 +349,7 @@ void vtkWin32VideoSource::Initialize()
}
// set user data for callbacks
if (!capSetUserData(this->Internal->CapWnd,(long)this))
if (!capSetUserData(this->Internal->CapWnd,this))
{
vtkErrorMacro(<< "Initialize: couldn't set user data for callback"\
<< " (" << GetLastError() << ")");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment