diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-11-19 21:55:25 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-11-19 21:55:25 +0000 |
commit | da3312937343991e7296e1db2ded2ce5f1527618 (patch) | |
tree | b58318ca46615b9ae02ea66b13cdb58af3468a90 /res/res_timing_timerfd.c | |
parent | e316c2198684e801b431b62ecde4daf062eaf023 (diff) |
Cast this value since a uint64_t is not the same
as an unsigned long long on a 64-bit machine.
Reported by kpfleming on IRC
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_timing_timerfd.c')
-rw-r--r-- | res/res_timing_timerfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_timing_timerfd.c b/res/res_timing_timerfd.c index 85af3cc8f..4f419174c 100644 --- a/res/res_timing_timerfd.c +++ b/res/res_timing_timerfd.c @@ -158,7 +158,7 @@ static void timerfd_timer_ack(int handle, unsigned int quantity) } while (read_result != sizeof(expirations)); if (expirations != quantity) { - ast_debug(2, "Expected to acknowledge %u ticks but got %llu instead\n", quantity, expirations); + ast_debug(2, "Expected to acknowledge %u ticks but got %llu instead\n", quantity, (unsigned long long) expirations); } } |