diff options
Diffstat (limited to 'OpenSim/Data/PGSQL/PGSQLManager.cs')
-rw-r--r-- | OpenSim/Data/PGSQL/PGSQLManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLManager.cs b/OpenSim/Data/PGSQL/PGSQLManager.cs index 46f835a..af5a7cd 100644 --- a/OpenSim/Data/PGSQL/PGSQLManager.cs +++ b/OpenSim/Data/PGSQL/PGSQLManager.cs | |||
@@ -251,7 +251,7 @@ namespace OpenSim.Data.PGSQL | |||
251 | } | 251 | } |
252 | if (PGFieldType == "double precision") | 252 | if (PGFieldType == "double precision") |
253 | { | 253 | { |
254 | return (Double)value; | 254 | return Convert.ToDouble(value); |
255 | } | 255 | } |
256 | return CreateParameterValue(value); | 256 | return CreateParameterValue(value); |
257 | } | 257 | } |