diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Util.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index cebba46..7bc8176 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -1031,7 +1031,7 @@ namespace OpenSim.Framework | |||
1031 | else if (typeof(T) == typeof(Int32)) | 1031 | else if (typeof(T) == typeof(Int32)) |
1032 | val = cnf.GetInt(varname, (int)val); | 1032 | val = cnf.GetInt(varname, (int)val); |
1033 | else if (typeof(T) == typeof(float)) | 1033 | else if (typeof(T) == typeof(float)) |
1034 | val = cnf.GetFloat(varname, (int)val); | 1034 | val = cnf.GetFloat(varname, (float)val); |
1035 | else | 1035 | else |
1036 | m_log.ErrorFormat("[UTIL]: Unhandled type {0}", typeof(T)); | 1036 | m_log.ErrorFormat("[UTIL]: Unhandled type {0}", typeof(T)); |
1037 | } | 1037 | } |