aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorMike Mazur2008-07-27 07:09:33 +0000
committerMike Mazur2008-07-27 07:09:33 +0000
commit11a3fbf4aa058ae0ec50a2aa0bea12e33e96b14b (patch)
tree481b884671141c04a694a901c6f7f54c2945ed9c /OpenSim/Region/ScriptEngine/Shared
parentImplement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 & (diff)
downloadopensim-SC_OLD-11a3fbf4aa058ae0ec50a2aa0bea12e33e96b14b.zip
opensim-SC_OLD-11a3fbf4aa058ae0ec50a2aa0bea12e33e96b14b.tar.gz
opensim-SC_OLD-11a3fbf4aa058ae0ec50a2aa0bea12e33e96b14b.tar.bz2
opensim-SC_OLD-11a3fbf4aa058ae0ec50a2aa0bea12e33e96b14b.tar.xz
Conversion from double to LSLInteger needs to be explicit. Fix issue 1826.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 77bb426..ea2a551 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -1314,7 +1314,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
1314 return new LSLInteger(u); 1314 return new LSLInteger(u);
1315 } 1315 }
1316 1316
1317 static public implicit operator LSLInteger(double d) 1317 static public explicit operator LSLInteger(double d)
1318 { 1318 {
1319 return new LSLInteger(d); 1319 return new LSLInteger(d);
1320 } 1320 }