]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix 32/64 format
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 14 Apr 2011 22:50:43 +0000 (17:50 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 14 Apr 2011 22:50:48 +0000 (17:50 -0500)
src/mod/applications/mod_voicemail/mod_voicemail.c

index 16584e97d21e40536388b3026b716322501aa592..877e3e860141ae126bd15d0e97b2cc2b2acb344a 100644 (file)
@@ -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);