diff options
author | Steve Murphy <murf@digium.com> | 2007-07-18 14:35:07 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2007-07-18 14:35:07 +0000 |
commit | 5ac24b25d34d8ca4292696cf53ca5e33005f14ba (patch) | |
tree | 51e53d2e5ce6eb99153f81f9d0580caa88b33759 /main/channel.c | |
parent | 674dbeb0cf72402326fcb68ed2124b71e06a917c (diff) |
This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c index be1b293fa..4acfe9fb3 100644 --- a/main/channel.c +++ b/main/channel.c @@ -2454,7 +2454,7 @@ done: int ast_internal_timing_enabled(struct ast_channel *chan) { int ret = ast_opt_internal_timing && chan->timingfd > -1; - ast_debug(5, "Internal timing is %s (option_internal_timing=%lld chan->timingfd=%d)\n", ret? "enabled": "disabled", ast_opt_internal_timing, chan->timingfd); + ast_debug(5, "Internal timing is %s (option_internal_timing=%lld chan->timingfd=%d)\n", ret? "enabled": "disabled", (unsigned long long)ast_opt_internal_timing, chan->timingfd); return ret; } |