Changeset 1727
- Timestamp:
- Jan 23, 2008 11:03:01 AM (17 years ago)
- Location:
- pjproject/branches/users/nanang
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/users/nanang/pjlib-util/src/pjlib-util/crc32.c
r1003 r1727 155 155 pj_uint32_t crc = ctx->crc_state ^ CRC32_NEGL; 156 156 157 for( ; ((( pj_uint32_t)data) & 0x03) && nbytes > 0; --nbytes) {157 for( ; (((unsigned long)data) & 0x03) && nbytes > 0; --nbytes) { 158 158 crc = crc_tab[CRC32_INDEX(crc) ^ *data++] ^ CRC32_SHIFTED(crc); 159 159 } -
pjproject/branches/users/nanang/pjnath/src/pjnath/ice_session.c
r1654 r1727 743 743 len = pj_ansi_snprintf(buffer, bufsize, 744 744 "%d: [%d] %s:%d-->%s:%d", 745 GET_CHECK_ID(clist, check),745 (int)GET_CHECK_ID(clist, check), 746 746 check->lcand->comp_id, 747 747 laddr, (int)pj_ntohs(lcand->addr.ipv4.sin_port), -
pjproject/branches/users/nanang/pjnath/src/pjnath/ice_strans.c
r1654 r1727 284 284 tsx_id.a1 = 0; 285 285 tsx_id.a2 = comp_id; 286 tsx_id.a3 = (pj_uint32_t) ice_st;286 tsx_id.a3 = (pj_uint32_t) (unsigned long) ice_st; 287 287 pj_memcpy(comp->ka_tsx_id, &tsx_id, sizeof(comp->ka_tsx_id)); 288 288 -
pjproject/branches/users/nanang/pjsip/src/pjsua-lib/pjsua_media.c
r1723 r1727 914 914 pjsua_call_id call_id; 915 915 916 call_id = (pjsua_call_id) user_data;916 call_id = (pjsua_call_id)(long)user_data; 917 917 pjsua_var.ua_cfg.cb.on_dtmf_digit(call_id, digit); 918 918 } … … 1035 1035 pjmedia_session_set_dtmf_callback(call->session, 0, 1036 1036 &dtmf_callback, 1037 (void*)( call->index));1037 (void*)(long)(call->index)); 1038 1038 } 1039 1039
Note: See TracChangeset
for help on using the changeset viewer.