rtmp-services: Fix warnings for updater

master
jp9000 2015-08-19 17:47:25 -07:00
parent 1a842ecd15
commit be5283bb51
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ static bool confirm_service_file(void *param, struct file_download_data *file)
obs_data_t *data; obs_data_t *data;
int format_version; int format_version;
data = obs_data_create_from_json(file->buffer.array); data = obs_data_create_from_json((char*)file->buffer.array);
if (!data) if (!data)
return false; return false;
format_version = obs_data_get_int(data, "format_version"); format_version = (int)obs_data_get_int(data, "format_version");
obs_data_release(data); obs_data_release(data);
if (format_version != RTMP_SERVICES_FORMAT_VERSION) if (format_version != RTMP_SERVICES_FORMAT_VERSION)