libobs/util: Const-correct win_version_compare

This commit is contained in:
jpark37 2021-09-10 19:25:29 -07:00 committed by Jim
parent 1e98c9a0be
commit aa342ab6fc

View File

@ -29,8 +29,8 @@ struct win_version_info {
int revis;
};
static inline int win_version_compare(struct win_version_info *dst,
struct win_version_info *src)
static inline int win_version_compare(const struct win_version_info *dst,
const struct win_version_info *src)
{
if (dst->major > src->major)
return 1;