diff --git a/OpenSim/Data/PGSQL/PGSQLManager.cs b/OpenSim/Data/PGSQL/PGSQLManager.cs index aedbb26952..01e26d45ae 100644 --- a/OpenSim/Data/PGSQL/PGSQLManager.cs +++ b/OpenSim/Data/PGSQL/PGSQLManager.cs @@ -182,6 +182,10 @@ namespace OpenSim.Data.PGSQL { return value; } + if (valueType == typeof(uint)) + { + return (int)value; + } return value; }