From: Mark Michelson Date: Wed, 19 Nov 2008 21:55:25 +0000 (+0000) Subject: Cast this value since a uint64_t is not the same X-Git-Tag: 1.6.2.0-beta1~826 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da3312937343991e7296e1db2ded2ce5f1527618;p=thirdparty%2Fasterisk.git 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 --- 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); } }