Changeset 1669 for pjproject/trunk


Ignore:
Timestamp:
Jan 8, 2008 4:03:18 PM (17 years ago)
Author:
bennylp
Message:

Fixed warnings with strict gcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/delaybuf.c

    r1664 r1669  
    8484 
    8585    pj_ansi_strncpy(b->obj_name, name, PJ_MAX_OBJ_NAME-1); 
    86     b->frame_buf = pj_pool_zalloc(pool, samples_per_frame * max_cnt *  
     86    b->frame_buf = (pj_int16_t*) 
     87                   pj_pool_zalloc(pool, samples_per_frame * max_cnt *  
    8788                                         sizeof(pj_int16_t)); 
    8889    b->samples_per_frame = samples_per_frame; 
     
    108109static void update(pjmedia_delay_buf *b, enum OP op) 
    109110{ 
    110     enum OP other = !op; 
     111    enum OP other = (enum OP) !op; 
    111112 
    112113    switch (b->state) { 
Note: See TracChangeset for help on using the changeset viewer.