From: Anthony Minessale Date: Thu, 14 Apr 2011 22:50:43 +0000 (-0500) Subject: fix 32/64 format X-Git-Tag: v1.2-rc1~118^2~115 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c7d50b4e89a9f487bbff0be1652c2fc1ca7fea6;p=thirdparty%2Ffreeswitch.git fix 32/64 format --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 16584e97d2..877e3e8601 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -4860,7 +4860,7 @@ SWITCH_STANDARD_API(vm_fsdb_msg_list_function) profile_rwunlock(profile); - switch_event_add_header(cbt.my_params, SWITCH_STACK_BOTTOM, "VM-List-Count", "%ld", cbt.len); + switch_event_add_header(cbt.my_params, SWITCH_STACK_BOTTOM, "VM-List-Count", "%"SWITCH_SIZE_T_FMT, cbt.len); switch_event_serialize_json(cbt.my_params, &ebuf); switch_event_destroy(&cbt.my_params);