From 269ae1dc5108970138a98d0fc4cf66933219a9ae Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 26 Nov 2007 23:51:37 +0000 Subject: [PATCH] format specifier for type. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6402 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_voicemail/mod_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 2546855fd9..4230189cc9 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1875,7 +1875,7 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, cons switch_channel_set_variable(channel, "voicemail_priority", tmp); switch_channel_set_variable(channel, "voicemail_email", email_vm); - snprintf(tmp,sizeof(tmp), "%d", message_len); + snprintf(tmp,sizeof(tmp), "%"SWITCH_SIZE_T_FMT, message_len); switch_channel_set_variable(channel, "voicemail_message_len", tmp); if (switch_strlen_zero(profile->email_from)) {