Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (17 years ago)
Author:
bennylp
Message:

HUGE changeset to make the rest of the libraries compile with C++ mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c

    r1240 r1266  
    168168    pj_status_t status = PJ_SUCCESS; 
    169169    pjsip_module *m; 
    170     int i; 
     170    unsigned i; 
    171171 
    172172    pj_rwmutex_lock_write(endpt->mod_mutex); 
     
    248248 
    249249    /* Make sure the module exists in the array. */ 
    250     PJ_ASSERT_ON_FAIL(  mod->id>=0 && mod->id<PJ_ARRAY_SIZE(endpt->modules) && 
     250    PJ_ASSERT_ON_FAIL(  mod->id>=0 &&  
     251                        mod->id<(int)PJ_ARRAY_SIZE(endpt->modules) && 
    251252                        endpt->modules[mod->id] == mod, 
    252253                        {status = PJ_ENOTFOUND; goto on_return;}); 
     
    10801081 
    10811082    len = pj_ansi_strlen(format); 
    1082     if (len < sizeof(newformat)-30) { 
     1083    if (len < (int)sizeof(newformat)-30) { 
    10831084        pj_str_t errstr; 
    10841085 
Note: See TracChangeset for help on using the changeset viewer.