fix a cast that makes LitJson unhappy
parent
02a4298b02
commit
046ec66ff9
|
@ -16756,7 +16756,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
retl.Add((LSL_String)((bool)elem ? ScriptBaseClass.JSON_TRUE : ScriptBaseClass.JSON_FALSE));
|
retl.Add((LSL_String)((bool)elem ? ScriptBaseClass.JSON_TRUE : ScriptBaseClass.JSON_FALSE));
|
||||||
return retl;
|
return retl;
|
||||||
case LitJson.JsonType.Double:
|
case LitJson.JsonType.Double:
|
||||||
retl.Add(new LSL_Float((float)elem));
|
retl.Add(new LSL_Float((double)elem));
|
||||||
return retl;
|
return retl;
|
||||||
case LitJson.JsonType.None:
|
case LitJson.JsonType.None:
|
||||||
retl.Add((LSL_String)ScriptBaseClass.JSON_NULL);
|
retl.Add((LSL_String)ScriptBaseClass.JSON_NULL);
|
||||||
|
|
Loading…
Reference in New Issue