From: Harlan Stenn Date: Tue, 18 Nov 2008 23:32:18 +0000 (+0000) Subject: Use int32, not int32_t X-Git-Tag: NTP_4_2_5P144~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f40f1d3ae70d55c95bb114d96b15d162d008630b;p=thirdparty%2Fntp.git Use int32, not int32_t bk: 49235082JC8FwEOfDFGhRhq4AKkLwA --- diff --git a/ChangeLog b/ChangeLog index e80a30eb2..95eb2f987 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* Use int32, not int32_t. * Avoid the sched*() functions under OSF - link problems. (4.2.5p143) 2008/11/17 Released by Harlan Stenn * sntp cleanup and fixes. diff --git a/ntpdc/ntpdc_ops.c b/ntpdc/ntpdc_ops.c index b9c09d755..723749abc 100644 --- a/ntpdc/ntpdc_ops.c +++ b/ntpdc/ntpdc_ops.c @@ -886,7 +886,7 @@ again: "offset %s, frequency %s, time_const %ld, watchdog %ld\n", lfptoa(&tempts, 6), lfptoa(&temp2ts, 3), - (long)(int32_t)ntohl((u_long)il->compliance), + (long)(int32)ntohl((u_long)il->compliance), (u_long)ntohl((u_long)il->watchdog_timer)); } else { NTOHL_FP(&il->last_offset, &tempts); @@ -896,7 +896,7 @@ again: (void) fprintf(fp, "frequency: %s ppm\n", lfptoa(&tempts, 3)); (void) fprintf(fp, "poll adjust: %ld\n", - (long)(int32_t)ntohl(il->compliance)); + (long)(int32)ntohl(il->compliance)); (void) fprintf(fp, "watchdog timer: %ld s\n", (u_long)ntohl(il->watchdog_timer)); } @@ -2988,7 +2988,7 @@ again: tscale = 1e-9; #endif (void)fprintf(fp, "pll offset: %g s\n", - (int32_t)ntohl(ik->offset) * tscale); + (int32)ntohl(ik->offset) * tscale); (void)fprintf(fp, "pll frequency: %s ppm\n", fptoa((s_fp)ntohl(ik->freq), 3)); (void)fprintf(fp, "maximum error: %g s\n",