Ignore:
Timestamp:
Jun 19, 2013 6:47:43 AM (11 years ago)
Author:
riza
Message:

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

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

    r3664 r4537  
    841841 
    842842    /* Copy the data into the speex bit-stream */ 
    843     speex_bits_read_from(&spx->dec_bits, (char*)pkt, pkt_size); 
     843    speex_bits_read_from(&spx->dec_bits, (char*)pkt, (int)pkt_size); 
    844844 
    845845    while (speex_get_next_frame(&spx->dec_bits) == 0 &&  
     
    878878    int tx = 0; 
    879879    spx_int16_t *pcm_in = (spx_int16_t*)input->buf; 
    880     unsigned nsamples; 
     880    pj_size_t nsamples; 
    881881 
    882882    spx = (struct spx_private*) codec->codec_data; 
     
    953953 
    954954    /* Copy the data into the bit-stream struct */ 
    955     speex_bits_read_from(&spx->dec_bits, (char*)input->buf, input->size); 
     955    speex_bits_read_from(&spx->dec_bits, (char*)input->buf, (int)input->size); 
    956956     
    957957    /* Set Speex dec_bits pointer to the start bit of the frame */ 
Note: See TracChangeset for help on using the changeset viewer.