Ignore:
Timestamp:
May 5, 2015 7:48:13 AM (9 years ago)
Author:
nanang
Message:

Misc (re #1843): Best effort fix for compile warning of pointer-integer cast in SILK codec wrapper (thanks Alexander Traud for the report).

File:
1 edited

Legend:

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

    r5046 r5085  
    773773        frames[i].type = PJMEDIA_FRAME_TYPE_AUDIO; 
    774774        frames[i].bit_info = (((unsigned)ts->u64 & 0xFFFF) << 16) | 
    775                               (((unsigned)pkt & 0xFF) << 8) | 
     775                              (((pj_size_t)pkt & 0xFF) << 8) | 
    776776                              (toc.framesInPacket << 4) | i; 
    777777        frames[i].buf = pkt; 
Note: See TracChangeset for help on using the changeset viewer.