diff --git a/netutils/tftpc/tftpc_get.c b/netutils/tftpc/tftpc_get.c index 9ad2bde80..38ef730b4 100644 --- a/netutils/tftpc/tftpc_get.c +++ b/netutils/tftpc/tftpc_get.c @@ -333,7 +333,7 @@ static ssize_t tftp_write(FAR void *ctx, uint32_t offset, FAR uint8_t *buf, /* Handle partial writes */ - ninfo("Wrote %d bytes to file\n", nbyteswritten); + ninfo("Wrote %zd bytes to file\n", nbyteswritten); left -= nbyteswritten; buf += nbyteswritten; }