fix a cast that makes LitJson unhappy

0.9.0-post-fixes
UbitUmarov 2017-05-20 22:21:27 +01:00
parent 02a4298b02
commit 046ec66ff9
1 changed files with 1 additions and 1 deletions

View File

@ -16756,7 +16756,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
retl.Add((LSL_String)((bool)elem ? ScriptBaseClass.JSON_TRUE : ScriptBaseClass.JSON_FALSE));
return retl;
case LitJson.JsonType.Double:
retl.Add(new LSL_Float((float)elem));
retl.Add(new LSL_Float((double)elem));
return retl;
case LitJson.JsonType.None:
retl.Add((LSL_String)ScriptBaseClass.JSON_NULL);