From cf325fda86ed7b68faaac85e0afaa828f618d198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 18 Nov 2022 17:26:54 +0100 Subject: [PATCH] tftpd: type nit Sponsored by: Klara, Inc. --- libexec/tftpd/tftp-options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/tftpd/tftp-options.c b/libexec/tftpd/tftp-options.c index cc902c7d2110..01876b4750f9 100644 --- a/libexec/tftpd/tftp-options.c +++ b/libexec/tftpd/tftp-options.c @@ -147,7 +147,7 @@ option_tsize(int peer __unused, struct tftphdr *tp __unused, int mode, return (0); if (mode == RRQ) - options_set_reply(OPT_TSIZE, "%ju", stbuf->st_size); + options_set_reply(OPT_TSIZE, "%ju", (uintmax_t)stbuf->st_size); else /* XXX Allows writes of all sizes. */ options_set_reply_equal_request(OPT_TSIZE);