diff options
author | Olle Johansson <oej@edvina.net> | 2006-01-17 19:03:04 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-01-17 19:03:04 +0000 |
commit | 69e95678740512e6315ad761ff256ce0e927175d (patch) | |
tree | a3ca641a56e5da37ec1891f18c0f3fc8f585d119 | |
parent | 533a64401b5cc2fc5ebdcb5e767462e30e0255ac (diff) |
Portability - compilation warning on Mac OS/X removed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1533,7 +1533,7 @@ int manager_event(int category, const char *event, const char *fmt, ...) if (timestampevents) { now = ast_tvnow(); ast_build_string(&tmp_next, &tmp_left, "Timestamp: %ld.%06lu\r\n", - now.tv_sec, now.tv_usec); + now.tv_sec, (unsigned long) now.tv_usec); } va_start(ap, fmt); ast_build_string_va(&tmp_next, &tmp_left, fmt, ap); |