Fix clang error incompatible-pointer-types-discards-qualifiers

This commit is contained in:
Electric Worry 2024-05-20 17:06:53 +01:00 committed by LibretroAdmin
parent b630e6b5f9
commit fdd010aebc

View File

@ -49,7 +49,7 @@ int msg_hash_get_help_enum(enum msg_hash_enums msg, char *s, size_t len)
if (temp)
{
strlcpy(s, temp, len);
free(temp);
free((void*)temp);
}
return ret;
}