Correctly convert port to int.

0.6.0-stable
Mike Mazur 2008-08-19 09:24:15 +00:00
parent 894f3045ed
commit c74f7387ec
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
{ {
m_log.Info("[BALANCER] " + "Entering RegionStatus()"); m_log.Info("[BALANCER] " + "Entering RegionStatus()");
int src_port = (int) request.Params[0]; int src_port = Convert.ToInt32(request.Params[0]);
Scene scene; Scene scene;
// try to get the scene object // try to get the scene object
RegionInfo src_region = SearchRegionFromPortNum(src_port); RegionInfo src_region = SearchRegionFromPortNum(src_port);