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

@@ -604,7 +604,7 @@ void Transcoder::SetElementProperties(const QString &name, GObject *object) {
break;
}
case G_TYPE_UINT:{
const guint g_value = static_cast<gint>(value.toUInt());
const guint g_value = static_cast<guint>(value.toUInt());
qLog(Debug) << "Setting" << property->name << "(uint)" << "to" << g_value;
g_object_set(object, property->name, g_value, nullptr);
break;