From: Rupa Schomaker Date: Tue, 20 Apr 2010 17:21:46 +0000 (-0500) Subject: more %lu->SWITCH_SIZE_T_FMT X-Git-Tag: git2svn-syncpoint-master~169^2~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=995c4277dad7f35c9955c4a978c5a38a7e034f6a;p=thirdparty%2Ffreeswitch.git more %lu->SWITCH_SIZE_T_FMT --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 77510d4570..1f289499dd 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -891,13 +891,13 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f snprintf(buf, sizeof(buf), "%u", rtcp_frame.octect_count); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Octect-Packet-Count", buf); - snprintf(buf, sizeof(buf), "%lu", tech_pvt->read_frame.timestamp); + snprintf(buf, sizeof(buf), "%" SWITCH_SIZE_T_FMT, tech_pvt->read_frame.timestamp); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Last-RTP-Timestamp", buf); snprintf(buf, sizeof(buf), "%u", tech_pvt->read_frame.rate); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "RTP-Rate", buf); - snprintf(buf, sizeof(buf), "%lu", switch_time_now()); + snprintf(buf, sizeof(buf), "%" SWITCH_SIZE_T_FMT, switch_time_now()); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Capture-Time", buf); switch_event_fire(&event);