Author: andrew
Date: Wed Jul 13 22:53:30 2016
New Revision: 302788
URL: https://svnweb.freebsd.org/changeset/base/302788

Log:
  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

Modified:
  head/usr.sbin/acpi/acpidump/acpidump.c

Modified: head/usr.sbin/acpi/acpidump/acpidump.c
==============================================================================
--- head/usr.sbin/acpi/acpidump/acpidump.c      Wed Jul 13 21:27:10 2016        
(r302787)
+++ head/usr.sbin/acpi/acpidump/acpidump.c      Wed Jul 13 22:53:30 2016        
(r302788)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to