Merge pull request #1733 in FS/freeswitch from bugfix/FS-11864-fix-uint64_t-type-overflow-on-32-bit-platforms to master

* commit '08a6a8a2fa3317aa9d1300f131086e5dd55982dc':
  FS-11864: [mod_kazoo] Fix uint64_t type overflow on 32 bit platforms
This commit is contained in:
Andrey Volk 2019-05-29 04:22:02 -05:00
commit ddd69e3a2c
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ static switch_xml_t fetch_handler(const char *section, const char *tag_name, con
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Fetch-Key-Name", key_name);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Fetch-Key-Value", key_value);
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Fetch-Timeout", "%u", profile->fetch_timeout);
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Fetch-Timestamp-Micro", "%ld", (uint64_t)now);
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Fetch-Timestamp-Micro", "%" SWITCH_UINT64_T_FMT, (uint64_t)now);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Kazoo-Version", VERSION);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Kazoo-Bundle", BUNDLE);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Kazoo-Release", RELEASE);