Commit c551d39f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Update: Correctly cast to (int)

As specified in the MSDN documentation
It will warn, though
parent 6ceeffa9
...@@ -724,7 +724,7 @@ static void* update_DownloadReal( vlc_object_t *p_this ) ...@@ -724,7 +724,7 @@ static void* update_DownloadReal( vlc_object_t *p_this )
{ {
wchar_t psz_wdestfile[MAX_PATH]; wchar_t psz_wdestfile[MAX_PATH];
MultiByteToWideChar( CP_UTF8, 0, psz_destfile, -1, psz_wdestfile, MAX_PATH ); MultiByteToWideChar( CP_UTF8, 0, psz_destfile, -1, psz_wdestfile, MAX_PATH );
answer = ShellExecuteW( NULL, L"open", psz_wdestfile, NULL, NULL, SW_SHOW); answer = (int)ShellExecuteW( NULL, L"open", psz_wdestfile, NULL, NULL, SW_SHOW);
if(answer > 32) if(answer > 32)
libvlc_Quit(p_this->p_libvlc); libvlc_Quit(p_this->p_libvlc);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment