aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_timing_timerfd.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-19 21:55:25 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-19 21:55:25 +0000
commit39bf89de30689baee0e692efd0a6fba4d8f34ce8 (patch)
treeb58318ca46615b9ae02ea66b13cdb58af3468a90 /res/res_timing_timerfd.c
parent873bae3754b10a56837e4f325908f4a7a2feaa4e (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: http://svn.digium.com/svn/asterisk/trunk@157874 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_timing_timerfd.c')
-rw-r--r--res/res_timing_timerfd.c2
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);
}
}