git: 89872424863c - releng/14.0 - mkfile: getopt() returns an int, not a char.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Sep 2023 15:00:20 UTC
The branch releng/14.0 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=89872424863c412f506e5df4adc30c96323fd432 commit 89872424863c412f506e5df4adc30c96323fd432 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2023-09-10 18:33:18 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2023-09-14 08:59:50 +0000 mkfile: getopt() returns an int, not a char. MFC after: 3 days Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D41804 Approved by: re (delphij) (cherry picked from commit ef8abddf103d9dfd5660d50d15e6dbfbb2f47f62) (cherry picked from commit 6bd2be4c4971f58c51509ce8856bd5331f979e85) --- tests/sys/cddl/zfs/bin/mkfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/cddl/zfs/bin/mkfile.c b/tests/sys/cddl/zfs/bin/mkfile.c index b1034b9ca500..c1afdbd61196 100644 --- a/tests/sys/cddl/zfs/bin/mkfile.c +++ b/tests/sys/cddl/zfs/bin/mkfile.c @@ -168,7 +168,7 @@ int main(int argc, char *argv[]) { unsigned long long fsize; - char ch; + int ch; /* We have at least 2 arguments. */ if (argc < 3) {