aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_Types.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
index d0a5079..b8a4a4d 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
@@ -1439,12 +1439,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1439 1439
1440 #region Operators 1440 #region Operators
1441 1441
1442 static public implicit operator int(LSLFloat f) 1442 static public explicit operator int(LSLFloat f)
1443 { 1443 {
1444 return (int)f.value; 1444 return (int)f.value;
1445 } 1445 }
1446 1446
1447 static public implicit operator uint(LSLFloat f) 1447 static public explicit operator uint(LSLFloat f)
1448 { 1448 {
1449 return (uint) Math.Abs(f.value); 1449 return (uint) Math.Abs(f.value);
1450 } 1450 }
@@ -1471,7 +1471,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1471 return new LSLFloat(i.value); 1471 return new LSLFloat(i.value);
1472 } 1472 }
1473 1473
1474 static public implicit operator LSLFloat(string s) 1474 static public explicit operator LSLFloat(string s)
1475 { 1475 {
1476 return new LSLFloat(double.Parse(s)); 1476 return new LSLFloat(double.Parse(s));
1477 } 1477 }