Date: Wed, 22 Sep 2021 18:59:47 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 8fc722a572b8 - main - mixer(8): Compile fix for when the "char" type is unsigned. Message-ID: <202109221859.18MIxl06079214@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=8fc722a572b8af5afde4a4515a7ff3784360e471 commit 8fc722a572b8af5afde4a4515a7ff3784360e471 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2021-09-22 18:56:34 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2021-09-22 18:58:47 +0000 mixer(8): Compile fix for when the "char" type is unsigned. Differential Revision: https://reviews.freebsd.org/D31636 Sponsored by: NVIDIA Networking --- usr.sbin/mixer/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c index 3bbb8eebf93f..c32b87fdb7f0 100644 --- a/usr.sbin/mixer/mixer.c +++ b/usr.sbin/mixer/mixer.c @@ -63,7 +63,7 @@ main(int argc, char *argv[]) char *p, *bufp, *devstr, *ctlstr, *valstr = NULL; int dunit, i, n, pall = 1; int aflag = 0, dflag = 0, oflag = 0, sflag = 0; - char ch; + int ch; while ((ch = getopt(argc, argv, "ad:f:os")) != -1) { switch (ch) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109221859.18MIxl06079214>