From c74f7387ec27144fa8ea70faae7a2def7defdd3d Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Tue, 19 Aug 2008 09:24:15 +0000 Subject: [PATCH] Correctly convert port to int. --- ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);