]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Use int32, not int32_t
authorHarlan Stenn <stenn@ntp.org>
Tue, 18 Nov 2008 23:32:18 +0000 (23:32 +0000)
committerHarlan Stenn <stenn@ntp.org>
Tue, 18 Nov 2008 23:32:18 +0000 (23:32 +0000)
bk: 49235082JC8FwEOfDFGhRhq4AKkLwA

ChangeLog
ntpdc/ntpdc_ops.c

index e80a30eb2bad4212ca08a1c3f174fdcf90afee31..95eb2f987ccb813b488bb81eee26b11546bc39b7 100644 (file)
--- 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 <stenn@ntp.org>
 * sntp cleanup and fixes.
index b9c09d7557ea04ebc6920ead341b74a3dbdc8a2b..723749abce00fc2f78c029c5dad8c7eaa1da891d 100644 (file)
@@ -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",