Ignore:
Timestamp:
Dec 13, 2013 11:44:51 AM (11 years ago)
Author:
nanang
Message:

Re #1519: Misc fixes in pjsua2:

  • Changed AccountConfig::toPj() signature, because a pjsua_acc_config instance should not be copied/assigned to another pjsua_acc_config instance as it contains list.
  • Fixed assertion in Endpoint destructor caused by access to pjlib mutex after pjlib is destroyed.
  • Changed VS2005 sample_debug project to allow debugging C++ code such as pjsua2_demo.cpp.
  • Compile warnings on VS2005.
  • Fixed SWIG python unit test.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/pjsua2/pjlib/src/pj/string.c

    r4642 r4692  
    190190 
    191191    if (part.slen) 
    192         val = pj_strtol(&part); 
     192        val = (float)pj_strtol(&part); 
    193193    else 
    194194        val = 0; 
     
    200200            pj_str_t endptr; 
    201201            float fpart, fdiv; 
    202             unsigned i; 
    203             fpart = pj_strtoul2(&part, &endptr, 10); 
     202            int i; 
     203            fpart = (float)pj_strtoul2(&part, &endptr, 10); 
    204204            fdiv = 1.0; 
    205205            for (i=0; i<(part.slen - endptr.slen); ++i) 
Note: See TracChangeset for help on using the changeset viewer.