From 1eac1c84f5cc8316b462c672723b2204f024c1cf Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Sat, 6 Dec 2008 16:22:26 +0000 Subject: [PATCH] Add cast to int to silence format mismatch warning git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10639 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_vmd/mod_vmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_vmd/mod_vmd.c b/src/mod/applications/mod_vmd/mod_vmd.c index ca4e5fa0ff..b2fd6a5982 100644 --- a/src/mod/applications/mod_vmd/mod_vmd.c +++ b/src/mod/applications/mod_vmd/mod_vmd.c @@ -282,7 +282,7 @@ static void find_beep(vmd_session_info_t *vmd_info, switch_frame_t *frame) } switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Beep-Status", "stop"); - switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Beep-Time", "%d", vmd_info->timestamp / POINTS); + switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Beep-Time", "%d", (int)vmd_info->timestamp / POINTS); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Unique-ID", "%s", switch_core_session_get_uuid(vmd_info->session)); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Frequency", "%6.4lf", vmd_info->beep_freq);