Changeset 3255
- Timestamp:
- Aug 6, 2010 7:18:08 AM (14 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/build.symbian/libgsmcodec.mmp
r3046 r3255 65 65 SYSTEMINCLUDE ..\pjmedia\include 66 66 SYSTEMINCLUDE ..\pjlib\include 67 SYSTEMINCLUDE ..\third_party\build\gsm 67 68 SYSTEMINCLUDE ..\third_party\gsm\inc 68 69 -
pjproject/trunk/pjlib/src/pj/errno.c
r2992 r3255 218 218 /* Build the title */ 219 219 len = pj_ansi_vsnprintf(titlebuf, sizeof(titlebuf), title_fmt, marker); 220 if (len < 0 || len >= sizeof(titlebuf))220 if (len < 0 || len >= (int)sizeof(titlebuf)) 221 221 pj_ansi_strcpy(titlebuf, "Error"); 222 222 -
pjproject/trunk/pjlib/src/pj/log.c
r2868 r3255 31 31 static int pj_log_max_level = PJ_LOG_MAX_LEVEL; 32 32 #endif 33 34 #if PJ_HAS_THREADS 33 35 static long thread_suspended_tls_id = -1; 36 #endif 37 34 38 static pj_log_func *log_writer = &pj_log_write; 35 39 static unsigned log_decor = PJ_LOG_HAS_TIME | PJ_LOG_HAS_MICRO_SEC | … … 68 72 #endif 69 73 74 #if PJ_HAS_THREADS 70 75 static void logging_shutdown(void) 71 76 { 72 #if PJ_HAS_THREADS73 77 if (thread_suspended_tls_id != -1) { 74 78 pj_thread_local_free(thread_suspended_tls_id); 75 79 thread_suspended_tls_id = -1; 76 80 } 77 #endif 78 } 81 } 82 #endif 79 83 80 84 pj_status_t pj_log_init(void) -
pjproject/trunk/pjmedia/src/pjmedia/wsola.c
r2850 r3255 851 851 if (reg2_len == 0) { 852 852 wsola_fade_out(wsola, reg1 + reg1_len - count, count); 853 } else if ( (int)reg2_len >= count) {853 } else if (reg2_len >= count) { 854 854 wsola_fade_out(wsola, reg2 + reg2_len - count, count); 855 855 } else { -
pjproject/trunk/pjsip/src/pjsip-simple/presence_body.c
r3045 r3255 127 127 pt.year, pt.mon+1, pt.day, 128 128 pt.hour, pt.min, pt.sec, pt.msec); 129 if (tslen > 0 && tslen < sizeof(buf)) {129 if (tslen > 0 && tslen < (int)sizeof(buf)) { 130 130 pj_str_t time = pj_str(buf); 131 131 pjpidf_tuple_set_timestamp(pool, pidf_tuple, &time); -
pjproject/trunk/pjsip/src/pjsip/sip_multipart.c
r3244 r3255 192 192 src_hdr = src_part->hdr.next; 193 193 while (src_hdr != &src_part->hdr) { 194 pjsip_hdr *dst_hdr = pjsip_hdr_clone(pool, src_hdr);194 pjsip_hdr *dst_hdr = (pjsip_hdr*)pjsip_hdr_clone(pool, src_hdr); 195 195 pj_list_push_back(&dst_part->hdr, dst_hdr); 196 196 src_hdr = src_hdr->next; … … 486 486 part->body->len = end - start_body; 487 487 } else { 488 part->body->data = "";488 part->body->data = (void*)""; 489 489 part->body->len = 0; 490 490 } -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r3243 r3255 1308 1308 /* First stage, get the maximum wait time */ 1309 1309 max_wait = 100; 1310 for (i=0; i< PJ_ARRAY_SIZE(pjsua_var.acc); ++i) {1310 for (i=0; i<(int)PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { 1311 1311 if (!pjsua_var.acc[i].valid) 1312 1312 continue; … … 1332 1332 1333 1333 /* Third stage, forcefully destroy unfinished unpublications */ 1334 for (i=0; i< PJ_ARRAY_SIZE(pjsua_var.acc); ++i) {1334 for (i=0; i<(int)PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { 1335 1335 if (pjsua_var.acc[i].publish_sess) { 1336 1336 pjsip_publishc_destroy(pjsua_var.acc[i].publish_sess); … … 1362 1362 /* First stage, get the maximum wait time */ 1363 1363 max_wait = 100; 1364 for (i=0; i< PJ_ARRAY_SIZE(pjsua_var.acc); ++i) {1364 for (i=0; i<(int)PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { 1365 1365 if (!pjsua_var.acc[i].valid) 1366 1366 continue;
Note: See TracChangeset
for help on using the changeset viewer.