Fix the type used to hold the value returned from getopt. On arm64 char is

unsigned so will never be -1.

Obtained from:	ABT Systems Ltd
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2016-07-13 22:53:30 +00:00
parent 464d005d84
commit 5ff4e2400d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302788

View File

@ -55,7 +55,8 @@ int
main(int argc, char *argv[])
{
ACPI_TABLE_HEADER *rsdt, *sdt;
char c, *progname;
int c;
char *progname;
char *dsdt_input_file, *dsdt_output_file;
dsdt_input_file = dsdt_output_file = NULL;