fixed invalid cast
This commit is contained in:
1 parent
04dd811f0e
commit
7b732dfd12
1 file changed
+1
-1
@@ -562,7 +562,7 @@ void ChannelSearchManager::searchResponse(int32 cid, int32 seqNo, int8 minorRevi
|
||||
else
|
||||
{
|
||||
// minor hack to enable duplicate reports
|
||||
si = reinterpret_cast<SearchInstance*>(_context->getChannel(cid));
|
||||
si = dynamic_cast<SearchInstance*>(_context->getChannel(cid));
|
||||
if(si != NULL)
|
||||
{
|
||||
si->acquire(); // TODO not thread/destruction safe
|
||||
|
||||
Reference in new issue
Block a user