diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index d5211f5107..5607706ad7 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs @@ -1286,7 +1286,7 @@ namespace OpenSim.Region.ScriptEngine.Common return new LSLInteger(u); } - static public implicit operator LSLInteger(double d) + static public explicit operator LSLInteger(double d) { return new LSLInteger(d); } diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 77bb426999..ea2a55177e 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 return new LSLInteger(u); } - static public implicit operator LSLInteger(double d) + static public explicit operator LSLInteger(double d) { return new LSLInteger(d); }