Ignore:
Timestamp:
Sep 11, 2008 10:17:10 AM (16 years ago)
Author:
nanang
Message:

Ticket #614: Fixed compilation warning of integer conversions.

File:
1 edited

Legend:

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

    r2270 r2272  
    265265 
    266266    fport->fmt_tag = wave_hdr.fmt_hdr.fmt_tag; 
    267     fport->bytes_per_sample = wave_hdr.fmt_hdr.bits_per_sample / 8; 
     267    fport->bytes_per_sample = (pj_uint16_t)  
     268                              (wave_hdr.fmt_hdr.bits_per_sample / 8); 
    268269 
    269270    /* If length of fmt_header is greater than 16, skip the remaining 
Note: See TracChangeset for help on using the changeset viewer.