forked from mirrors/linphone-iphone
Fix compilation error.
This commit is contained in:
parent
24e637c865
commit
cf2a9a7b42
1 changed files with 5 additions and 1 deletions
|
|
@ -5370,7 +5370,11 @@ void * linphone_core_get_native_preview_window_id(const LinphoneCore *lc){
|
|||
* MacOS, Linux, Windows: if not set or zero the core will create its own window, unless the special id -1 is given.
|
||||
**/
|
||||
void linphone_core_set_native_preview_window_id(LinphoneCore *lc, void *id){
|
||||
if (id == NULL || id==(unsigned long)-1){
|
||||
if ((id == NULL)
|
||||
#ifndef _WIN32
|
||||
|| ((unsigned int)id == (unsigned long)-1)
|
||||
#endif
|
||||
) {
|
||||
unset_video_window_id(lc,TRUE,id);
|
||||
}
|
||||
lc->preview_window_id=id;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue