diff --git a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs index cc0f2f5c7e..a724a23a72 100644 --- a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs +++ b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs @@ -140,7 +140,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer { m_log.Info("[BALANCER] " + "Entering RegionStatus()"); - int src_port = (int) request.Params[0]; + int src_port = Convert.ToInt32(request.Params[0]); Scene scene; // try to get the scene object RegionInfo src_region = SearchRegionFromPortNum(src_port);