Ignore:
Timestamp:
Jun 13, 2008 12:52:56 PM (16 years ago)
Author:
bennylp
Message:

Fixed various compilation warnings with gcc strict compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/gsm.c

    r1985 r2015  
    598598#if !PLC_DISABLED 
    599599    if (gsm_data->plc_enabled) 
    600         pjmedia_plc_save( gsm_data->plc, output->buf); 
     600        pjmedia_plc_save( gsm_data->plc, (pj_int16_t*)output->buf); 
    601601#endif 
    602602 
     
    613613                                      struct pjmedia_frame *output) 
    614614{ 
    615     struct gsm_data *gsm_data = codec->codec_data; 
     615    struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; 
    616616 
    617617    PJ_ASSERT_RETURN(gsm_data->plc_enabled, PJ_EINVALIDOP); 
     
    619619    PJ_ASSERT_RETURN(output_buf_len >= 320, PJMEDIA_CODEC_EPCMTOOSHORT); 
    620620 
    621     pjmedia_plc_generate(gsm_data->plc, output->buf); 
     621    pjmedia_plc_generate(gsm_data->plc, (pj_int16_t*)output->buf); 
    622622    output->size = 320; 
    623623 
Note: See TracChangeset for help on using the changeset viewer.