Ignore:
Timestamp:
Apr 14, 2008 4:04:30 AM (16 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/conference.c

    r1898 r1929  
    13741374            if (cport->channel_count != conf->channel_count) { 
    13751375                if (cport->channel_count == 1) { 
    1376                     pjmedia_convert_channel_1ton(f.buf, f.buf, 
     1376                    pjmedia_convert_channel_1ton((pj_int16_t*)f.buf,  
     1377                                                 (const pj_int16_t*)f.buf, 
    13771378                                                 conf->channel_count,  
    13781379                                                 cport->samples_per_frame, 
     
    13811382                                            conf->channel_count); 
    13821383                } else { /* conf->channel_count == 1 */ 
    1383                     pjmedia_convert_channel_nto1(f.buf, f.buf, 
     1384                    pjmedia_convert_channel_nto1((pj_int16_t*)f.buf,  
     1385                                                 (const pj_int16_t*)f.buf, 
    13841386                                                 cport->channel_count,  
    13851387                                                 cport->samples_per_frame,  
Note: See TracChangeset for help on using the changeset viewer.