Ignore:
Timestamp:
Aug 21, 2014 3:33:36 AM (10 years ago)
Author:
nanang
Message:

Misc (re #1751): Fixed miscellaneous MSVC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/media.cpp

    r4845 r4897  
    371371                                     void *usr_data) 
    372372{ 
     373    PJ_UNUSED_ARG(port); 
    373374    AudioMediaPlayer *player = (AudioMediaPlayer*)usr_data; 
    374375    return player->onEof() ? PJ_SUCCESS : PJ_EEOF; 
     
    577578    for (i=0; i<digitMap.count; ++i) { 
    578579        digitMap.digits[i].digit = digit_map[i].digit.c_str()[0]; 
    579         digitMap.digits[i].freq1 = digit_map[i].freq1; 
    580         digitMap.digits[i].freq2 = digit_map[i].freq2; 
     580        digitMap.digits[i].freq1 = (short)digit_map[i].freq1; 
     581        digitMap.digits[i].freq2 = (short)digit_map[i].freq2; 
    581582    } 
    582583 
Note: See TracChangeset for help on using the changeset viewer.