From 7b732dfd1296e7d3507c1a9180d9102c05a90e95 Mon Sep 17 00:00:00 2001 From: Matej Sekoranja Date: Thu, 17 Feb 2011 13:22:20 +0100 Subject: [PATCH] fixed invalid cast --- pvAccessApp/remote/channelSearchManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvAccessApp/remote/channelSearchManager.cpp b/pvAccessApp/remote/channelSearchManager.cpp index 932cd9e..6675de7 100644 --- a/pvAccessApp/remote/channelSearchManager.cpp +++ b/pvAccessApp/remote/channelSearchManager.cpp @@ -562,7 +562,7 @@ void ChannelSearchManager::searchResponse(int32 cid, int32 seqNo, int8 minorRevi else { // minor hack to enable duplicate reports - si = reinterpret_cast(_context->getChannel(cid)); + si = dynamic_cast(_context->getChannel(cid)); if(si != NULL) { si->acquire(); // TODO not thread/destruction safe