Changeset 3005 for pjproject/trunk


Ignore:
Timestamp:
Nov 10, 2009 5:54:58 AM (15 years ago)
Author:
bennylp
Message:

Misc (#951): fixed misc compilation warnings with gcc

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/ice_session.c

    r2948 r3005  
    532532                                              sizeof(pj_uint8_t)); 
    533533    for (i=0; i<4; ++i) { 
     534#if PJ_ICE_CAND_TYPE_PREF_BITS < 8 
    534535        pj_assert(prefs[i] < (2 << PJ_ICE_CAND_TYPE_PREF_BITS)); 
     536#endif 
    535537        ice->prefs[i] = prefs[i]; 
    536538    } 
  • pjproject/trunk/third_party/g7221/common/basic_op_i.h

    r2623 r3005  
    100100        return val16; 
    101101 
    102     if (val16 > MAX_16) 
     102    if (L_var1 > MAX_16) 
    103103        return MAX_16; 
    104104    return MIN_16; 
Note: See TracChangeset for help on using the changeset viewer.