Addressed more issues raised by splint, and corrected some type confusion between off_t and size_t / ssize_t.

This commit is contained in:
Andrew Wood
2023-09-14 22:19:49 +01:00
parent e696b737e3
commit 252213fbc2
8 changed files with 152 additions and 71 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ struct opts_s { /* structure describing run-time options */
bool bytes; /* bytes transferred flag */
bool bits; /* report transfer size in bits */
bool bufpercent; /* transfer buffer percentage flag */
unsigned int lastwritten; /* show N bytes last written */
size_t lastwritten; /* show N bytes last written */
bool force; /* force-if-not-terminal flag */
bool cursor; /* whether to use cursor positioning */
bool numeric; /* numeric output only */