diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2024-08-17 20:50:07 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2024-08-17 20:50:07 +0000 |
commit | dc015343bac259f50f2661da4b38988aad9ffb33 (patch) | |
tree | 3244474a69326f5f43059b40fa802cbce4a9b997 /usr.sbin/vmctl | |
parent | 0d9efc6deb832c398ac169a2ed68760c58eb758e (diff) |
Use 'int ch' instead of 'char ch' in one place for getopt.
Forgot one change during an earlier commit; use 'int ch' to make builds
complete without warning on arm64.
ok dv
Diffstat (limited to 'usr.sbin/vmctl')
-rw-r--r-- | usr.sbin/vmctl/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmctl/main.c b/usr.sbin/vmctl/main.c index 395bc39efce..0583ef953c8 100644 --- a/usr.sbin/vmctl/main.c +++ b/usr.sbin/vmctl/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.78 2024/05/18 06:45:00 jsg Exp $ */ +/* $OpenBSD: main.c,v 1.79 2024/08/17 20:50:06 mlarkin Exp $ */ /* * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> @@ -743,7 +743,7 @@ ctl_convert(const char *srcfile, const char *dstfile, int dsttype, size_t dstsiz int ctl_status(struct parse_result *res, int argc, char *argv[]) { - char ch; + int ch; while ((ch = getopt(argc, argv, "r")) != -1) { switch (ch) { |