[asterisk-commits] mmichelson: trunk r157874 - /trunk/res/res_timing_timerfd.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 19 15:55:26 CST 2008


Author: mmichelson
Date: Wed Nov 19 15:55:25 2008
New Revision: 157874

URL: http://svn.digium.com/view/asterisk?view=rev&rev=157874
Log:
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


Modified:
    trunk/res/res_timing_timerfd.c

Modified: trunk/res/res_timing_timerfd.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_timing_timerfd.c?view=diff&rev=157874&r1=157873&r2=157874
==============================================================================
--- trunk/res/res_timing_timerfd.c (original)
+++ trunk/res/res_timing_timerfd.c Wed Nov 19 15:55:25 2008
@@ -158,7 +158,7 @@
 	} 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);
 	}
 }
 




More information about the asterisk-commits mailing list