Changeset 4537 for pjproject/trunk/pjsip-apps/src/samples/siprtp.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r3553 r4537 1102 1102 1103 1103 1104 #if defined(PJ_WIN32) && PJ_WIN32 != 01104 #if (defined(PJ_WIN32) && PJ_WIN32 != 0) || (defined(PJ_WIN64) && PJ_WIN64 != 0) 1105 1105 #include <windows.h> 1106 1106 static void boost_priority(void) … … 1196 1196 /* Check for errors */ 1197 1197 if (size < 0) { 1198 app_perror(THIS_FILE, "RTP recv() error", -size);1198 app_perror(THIS_FILE, "RTP recv() error", (pj_status_t)-size); 1199 1199 return; 1200 1200 } … … 1202 1202 /* Decode RTP packet. */ 1203 1203 status = pjmedia_rtp_decode_rtp(&strm->in_sess, 1204 pkt, size,1204 pkt, (int)size, 1205 1205 &hdr, &payload, &payload_len); 1206 1206 if (status != PJ_SUCCESS) { … … 1235 1235 /* Check for errors */ 1236 1236 if (size < 0) { 1237 app_perror(THIS_FILE, "Error receiving RTCP packet", 1237 app_perror(THIS_FILE, "Error receiving RTCP packet",(pj_status_t)-size); 1238 1238 return; 1239 1239 } … … 1863 1863 1864 1864 printf("%s (empty to cancel): ", title); fflush(stdout); 1865 if (fgets(buf, len, stdin) == NULL)1865 if (fgets(buf, (int)len, stdin) == NULL) 1866 1866 return PJ_FALSE; 1867 1867 … … 2025 2025 2026 2026 if (log_file) { 2027 int count = fwrite(buffer, len, 1, log_file);2027 pj_size_t count = fwrite(buffer, len, 1, log_file); 2028 2028 PJ_UNUSED_ARG(count); 2029 2029 fflush(log_file);
Note: See TracChangeset
for help on using the changeset viewer.