summaryrefslogtreecommitdiff
path: root/ntpdc/ntpdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpdc/ntpdc.c')
-rw-r--r--ntpdc/ntpdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ntpdc/ntpdc.c b/ntpdc/ntpdc.c
index 8a79d0b50e19e..69fe6a5e8c40f 100644
--- a/ntpdc/ntpdc.c
+++ b/ntpdc/ntpdc.c
@@ -669,7 +669,7 @@ getresponse(
printf("Received sequence numbers");
for (n = 0; n <= MAXSEQ; n++)
if (haveseq[n])
- printf(" %zd,", n);
+ printf(" %zd,", (size_t)n);
if (lastseq != 999)
printf(" last frame received\n");
else
@@ -691,7 +691,7 @@ getresponse(
*/
if (n < (ssize_t)RESP_HEADER_SIZE) {
if (debug)
- printf("Short (%zd byte) packet received\n", n);
+ printf("Short (%zd byte) packet received\n", (size_t)n);
goto again;
}
if (INFO_VERSION(rpkt.rm_vn_mode) > NTP_VERSION ||