- Timestamp:
- Mar 21, 2008 9:43:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_msg.h
r1880 r1885 874 874 * Get 16bit channel number from 32bit integral value. 875 875 */ 876 #define PJ_STUN_GET_CH_NB(u32) pj_ntohs((pj_uint16_t)(u32>>16))876 #define PJ_STUN_GET_CH_NB(u32) ((pj_uint16_t)(u32>>16)) 877 877 878 878 /** 879 879 * Convert 16bit channel number into 32bit integral value. 880 880 */ 881 #define PJ_STUN_SET_CH_NB(chnum) (((pj_uint32_t) pj_htons(chnum)) << 16)881 #define PJ_STUN_SET_CH_NB(chnum) (((pj_uint32_t)chnum) << 16) 882 882 883 883
Note: See TracChangeset
for help on using the changeset viewer.