Fix CXX_BUILD warnings

This commit is contained in:
twinaphex 2016-07-24 09:23:59 +02:00
parent 5673468bb3
commit 1585e01e5c

View File

@ -2795,8 +2795,8 @@ bool config_save_file(const char *path)
{ "audio_out_rate", settings->audio.out_rate},
{ "custom_viewport_width", settings->video_viewport_custom.width},
{ "custom_viewport_height", settings->video_viewport_custom.height},
{ "custom_viewport_x", settings->video_viewport_custom.x},
{ "custom_viewport_y", settings->video_viewport_custom.y},
{ "custom_viewport_x", (unsigned)settings->video_viewport_custom.x},
{ "custom_viewport_y", (unsigned)settings->video_viewport_custom.y},
{ "content_history_size", settings->content_history_size},
{ "video_hard_sync_frames", settings->video.hard_sync_frames},
{ "video_frame_delay", settings->video.frame_delay},
@ -2804,7 +2804,7 @@ bool config_save_file(const char *path)
{ "video_swap_interval", settings->video.swap_interval},
{ "video_rotation", settings->video.rotation},
{ "aspect_ratio_index", settings->video.aspect_ratio_idx},
{ "state_slot", settings->state_slot},
{ "state_slot", (unsigned)settings->state_slot},
#ifdef HAVE_NETPLAY
{ "netplay_ip_port", global->netplay.port},
{ "netplay_delay_frames", global->netplay.sync_frames},