From c74f7387ec27144fa8ea70faae7a2def7defdd3d Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Tue, 19 Aug 2008 09:24:15 +0000 Subject: Correctly convert port to int. --- ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ThirdParty/3Di/LoadBalancer') diff --git a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs index cc0f2f5..a724a23 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); -- cgit v1.1