From da8c267316512436ba19f28fa42510be305093f6 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 30 Oct 2014 16:03:47 +0100 Subject: ICE-5804 - Warnings when building with GCC (Eliminate C style casts) --- cpp/src/Ice/PluginManagerI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Ice/PluginManagerI.cpp') diff --git a/cpp/src/Ice/PluginManagerI.cpp b/cpp/src/Ice/PluginManagerI.cpp index 81fbd6a922a..526bd930484 100644 --- a/cpp/src/Ice/PluginManagerI.cpp +++ b/cpp/src/Ice/PluginManagerI.cpp @@ -362,7 +362,7 @@ Ice::PluginManagerI::loadPlugin(const string& name, const string& pluginSpec, St // Invoke the factory function. No exceptions can be raised // by the factory function because it's declared extern "C". // - PLUGIN_FACTORY factory = (PLUGIN_FACTORY)sym; + PLUGIN_FACTORY factory = reinterpret_cast(sym); plugin = factory(_communicator, name, args); if(!plugin) { -- cgit v1.2.3