Changeset 2851


Ignore:
Timestamp:
Aug 1, 2009 9:23:15 AM (15 years ago)
Author:
bennylp
Message:

Misc fixes (ticket #915): compilation warning in IPP about conversion from int to char

File:
1 edited

Legend:

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

    r2760 r2851  
    11501150                        (ippc->pt==PJMEDIA_RTP_PT_AMRWB && *p>='0' && *p<='8')) 
    11511151                    { 
    1152                         pj_int8_t tmp = *p - '0' - enc_mode; 
     1152                        pj_int8_t tmp = (pj_int8_t)(*p - '0' - enc_mode); 
    11531153 
    11541154                        if (PJ_ABS(diff) > PJ_ABS(tmp) ||  
     
    11651165                    goto on_error; 
    11661166 
    1167                 enc_mode = enc_mode + diff; 
     1167                enc_mode = (pj_int8_t)(enc_mode + diff); 
    11681168 
    11691169                break; 
Note: See TracChangeset for help on using the changeset viewer.