From: Harlan Stenn Date: Sat, 3 Aug 2013 09:35:28 +0000 (-0400) Subject: CID 984511: Some systems have different printf needs for sizeof X-Git-Tag: NTP_4_2_7P380~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2ba1a4d379c1497525079244129ecc19a23eec5;p=thirdparty%2Fntp.git CID 984511: Some systems have different printf needs for sizeof bk: 51fccee0XCBeuk3HRRus4jAwvJE5PA --- diff --git a/ChangeLog b/ChangeLog index 2a088bc53..4e87a18f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* CID 984511: Some systems have different printf needs for sizeof. (4.2.7p379) 2013/08/02 Released by Harlan Stenn * CID 739724: Fix printf arg mismatch in a debug line. * [Bug 2425] compile io_handler() in ntp_io.c unconditionally diff --git a/sntp/main.c b/sntp/main.c index f8f14888c..ee59714b4 100644 --- a/sntp/main.c +++ b/sntp/main.c @@ -708,7 +708,7 @@ timeout_queries(void) int didsomething = 0; TRACE(3, ("timeout_queries: called to check %u items\n", - COUNTOF(fam_listheads))); + (unsigned)COUNTOF(fam_listheads))); gettimeofday_cached(base, &start_cb); for (idx = 0; idx < COUNTOF(fam_listheads); idx++) {