mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 22:45:49 +00:00
Fix compilations errors on 64-bit OpenBSD systems
In versiong 5.5, OpenBSD went to 64-bit time values. This requires a cast to (long) when printing members of certain time structs. Review: https://reviewboard.asterisk.org/r/4507 ASTERISK-24879 #close Reported by: snuffy Tested by: snuffy patches: openbsd-time64.diff uploaded by snuffy (License 5024) ........ Merged revisions 433268 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1645,7 +1645,7 @@ static char *handle_showchan(struct ast_cli_entry *e, int cmd, struct ast_cli_ar
|
||||
ast_str_buffer(write_transpath),
|
||||
ast_str_strlen(read_transpath) ? "Yes" : "No",
|
||||
ast_str_buffer(read_transpath),
|
||||
ast_channel_whentohangup(chan)->tv_sec,
|
||||
(long)ast_channel_whentohangup(chan)->tv_sec,
|
||||
cdrtime,
|
||||
bridge ? bridge->uniqueid : "(Not bridged)",
|
||||
ast_channel_context(chan),
|
||||
|
Reference in New Issue
Block a user