Fix UWP builds

This commit is contained in:
twinaphex 2019-02-04 23:13:56 +01:00
parent 12c6fe1dc0
commit ebce936557
2 changed files with 2 additions and 2 deletions

View File

@ -1428,7 +1428,7 @@ void audio_driver_load_menu_sounds(void)
const char *path_bgm = NULL;
struct string_list *list = NULL;
struct string_list *list_fallback = NULL;
int i = 0;
unsigned i = 0;
sounds_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
sounds_fallback_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));

View File

@ -3780,7 +3780,7 @@ void rarch_force_video_driver_fallback(const char *driver)
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
#ifdef _WIN32
#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__) && !defined(WINAPI_FAMILY)
/* UI companion driver is not inited yet, just call into it directly */
msg_window = &ui_msg_window_win32;
#endif