Revision
17343
Author
rupa
Date
2010-04-20 12:21:46 -0500 (Tue, 20 Apr 2010)

Log Message

more %lu->SWITCH_SIZE_T_FMT

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (17342 => 17343)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	2010-04-20 17:11:07 UTC (rev 17342)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	2010-04-20 17:21:46 UTC (rev 17343)
@@ -891,13 +891,13 @@
 					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);