提交 4a767e01 编写于 作者: J jp9000

deps/file-updater: Fix warning

上级 ebf3abf0
......@@ -332,7 +332,8 @@ static void update_remote_version(struct update_info *info, int cur_version)
return;
}
info->remote_package = obs_data_create_from_json(info->file_data.array);
info->remote_package = obs_data_create_from_json(
(char*)info->file_data.array);
if (!info->remote_package) {
warn("Failed to initialize remote package json");
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册