Coverity CID 468157

This commit is contained in:
matt335672
2025-02-03 15:24:22 +00:00
parent eff8ba75ee
commit b7a94bdb0a
+1 -1
View File
@@ -2141,7 +2141,7 @@ lib_mod_set_param(struct vnc *v, const char *name, const char *value)
}
else if (g_strcasecmp(name, "disabled_encodings_mask") == 0)
{
v->enabled_encodings_mask = ~g_atoi(value);
v->enabled_encodings_mask = (unsigned int)~g_atoi(value);
}
else if (g_strcasecmp(name, "client_info") == 0)
{