From 971778019a901602cfc85584c29fff8f246806cd Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 15 May 2024 23:05:34 +0100 Subject: [PATCH] pgsql: still uint cast issue --- OpenSim/Data/PGSQL/PGSQLManager.cs | 4 ++++ 1 file changed, 4 insertions(+) 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; }