mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix win32 build
This commit is contained in:
parent
108b2c2255
commit
db0db1b297
1 changed files with 2 additions and 2 deletions
|
|
@ -1479,8 +1479,8 @@ void linphone_gtk_open_browser(const char *uri) {
|
||||||
}
|
}
|
||||||
#elif defined(WIN32)
|
#elif defined(WIN32)
|
||||||
HINSTANCE instance = ShellExecute(NULL, "open", uri, NULL, NULL, SW_SHOWNORMAL);
|
HINSTANCE instance = ShellExecute(NULL, "open", uri, NULL, NULL, SW_SHOWNORMAL);
|
||||||
if (instance <= 32) {
|
if ((int)instance <= 32) {
|
||||||
g_warning("Could not open %s (error #%i)", uri, instance);
|
g_warning("Could not open %s (error #%i)", uri, (int)instance);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue