Ignore:
Timestamp:
Apr 6, 2015 6:13:51 AM (10 years ago)
Author:
nanang
Message:

Misc (re #1782): Fixed various compile warnings on MSVC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/media.cpp

    r5035 r5045  
    10241024     
    10251025    PJSUA2_CHECK_EXPR( pjsua_vid_win_get_info(winId, &pj_vwi) ); 
    1026     vwi.isNative = pj_vwi.is_native; 
     1026    vwi.isNative = (pj_vwi.is_native != PJ_FALSE); 
    10271027    vwi.winHandle.type = pj_vwi.hwnd.type; 
    10281028    vwi.winHandle.handle.window = pj_vwi.hwnd.info.window; 
    10291029    vwi.renderDeviceId = pj_vwi.rdr_dev; 
    1030     vwi.show = pj_vwi.show; 
     1030    vwi.show = (pj_vwi.show != PJ_FALSE); 
    10311031    vwi.pos.x = pj_vwi.pos.x; 
    10321032    vwi.pos.y = pj_vwi.pos.y; 
Note: See TracChangeset for help on using the changeset viewer.