aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_Types.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
index 5337d7f..bfc5053 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
@@ -1200,11 +1200,17 @@ namespace OpenSim.Region.ScriptEngine.Common
1200 } 1200 }
1201 1201
1202 #endregion 1202 #endregion
1203 static public implicit operator Int32(LSLInteger i) 1203
1204 static public implicit operator int(LSLInteger i)
1204 { 1205 {
1205 return i.value; 1206 return i.value;
1206 } 1207 }
1207 1208
1209 static public implicit operator uint(LSLInteger i)
1210 {
1211 return (uint)i.value;
1212 }
1213
1208 static public explicit operator LSLString(LSLInteger i) 1214 static public explicit operator LSLString(LSLInteger i)
1209 { 1215 {
1210 return new LSLString(i.ToString()); 1216 return new LSLString(i.ToString());