From da3312937343991e7296e1db2ded2ce5f1527618 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 19 Nov 2008 21:55:25 +0000 Subject: [PATCH] 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 --- res/res_timing_timerfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_timing_timerfd.c b/res/res_timing_timerfd.c index 85af3cc8fc..4f419174ca 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); } }