From 11a3fbf4aa058ae0ec50a2aa0bea12e33e96b14b Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Sun, 27 Jul 2008 07:09:33 +0000 Subject: Conversion from double to LSLInteger needs to be explicit. Fix issue 1826. --- OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Shared') 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 return new LSLInteger(u); } - static public implicit operator LSLInteger(double d) + static public explicit operator LSLInteger(double d) { return new LSLInteger(d); } -- cgit v1.1