Ignore:
Timestamp:
Apr 14, 2008 4:04:30 AM (14 years ago)
Author:
bennylp
Message:

Fixed miscellaneous compile warnings/errors when built with C++ mode

File:
1 edited

Legend:

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

    r1846 r1929  
    584584#if !PLC_DISABLED 
    585585    if (priv->plc_enabled) 
    586         pjmedia_plc_save( priv->plc, output->buf); 
     586        pjmedia_plc_save( priv->plc, (pj_int16_t*)output->buf); 
    587587#endif 
    588588 
     
    595595                                  struct pjmedia_frame *output) 
    596596{ 
    597     struct g711_private *priv = codec->codec_data; 
     597    struct g711_private *priv = (struct g711_private*) codec->codec_data; 
    598598 
    599599    if (!priv->plc_enabled) 
     
    603603                     PJMEDIA_CODEC_EPCMTOOSHORT); 
    604604 
    605     pjmedia_plc_generate(priv->plc, output->buf); 
     605    pjmedia_plc_generate(priv->plc, (pj_int16_t*)output->buf); 
    606606    output->size = SAMPLES_PER_FRAME * 2; 
    607607 
Note: See TracChangeset for help on using the changeset viewer.