Ignore:
Timestamp:
Nov 27, 2013 9:37:32 AM (9 years ago)
Author:
nanang
Message:

Re #1519: Added presence API in pjsua2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/pjsua2/pjsip/src/pjsua2/json.cpp

    r4644 r4657  
    124124        PJSUA2_RAISE_ERROR(PJ_ENOTFOUND); 
    125125 
    126     pj_ssize_t size = pj_file_size(filename.c_str()); 
     126    pj_ssize_t size = (pj_ssize_t)pj_file_size(filename.c_str()); 
    127127    pj_status_t status; 
    128128 
     
    359359    json_verify(jdat, "readBool()", name, PJ_JSON_VAL_BOOL); 
    360360    jdat->childPtr = jdat->childPtr->next; 
    361     return jdat->childPtr->prev->value.is_true; 
     361    return PJ2BOOL(jdat->childPtr->prev->value.is_true); 
    362362} 
    363363 
Note: See TracChangeset for help on using the changeset viewer.