[Freeswitch-trunk] [commit] r6402 - freeswitch/trunk/src/mod/applications/mod_voicemail

Freeswitch SVN mikej at freeswitch.org
Mon Nov 26 18:51:38 EST 2007


Author: mikej
Date: Mon Nov 26 18:51:37 2007
New Revision: 6402

Modified:
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c

Log:
format specifier for type.

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Mon Nov 26 18:51:37 2007
@@ -1875,7 +1875,7 @@
         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)) {



More information about the Freeswitch-trunk mailing list