Fix cast warnings with MSVC

This commit is contained in:
Jonas Kvinge
2025-03-25 00:37:07 +01:00
parent d5281abb22
commit 5e031be42c
59 changed files with 207 additions and 207 deletions

View File

@@ -80,7 +80,7 @@ uint SqlHelper::ValueToUInt(const T &q, const int n) {
Q_ASSERT(n < q.count());
return q.value(n).isNull() || q.value(n).toInt() < 0 ? 0 : q.value(n).toInt();
return q.value(n).isNull() || q.value(n).toInt() < 0 ? 0 : q.value(n).toUInt();
}