Ignore:
Timestamp:
Jul 29, 2006 8:29:24 PM (18 years ago)
Author:
bennylp
Message:

Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/confbench.c

    r531 r635  
    142142                                   pjmedia_frame *frame) 
    143143{ 
    144     port_data *sine = port->user_data; 
     144    port_data *sine = port->port_data.pdata; 
    145145    pj_int16_t *samples = frame->buf; 
    146146    unsigned i, count, left, right; 
     
    212212 
    213213    /* Create sine port data */ 
    214     port->user_data = sine = pj_pool_zalloc(pool, sizeof(port_data)); 
     214    port->port_data.pdata = sine = pj_pool_zalloc(pool, sizeof(port_data)); 
    215215 
    216216    /* Create samples */ 
Note: See TracChangeset for help on using the changeset viewer.