Author: uqs
Date: Mon Dec 20 19:08:07 2010
New Revision: 216599
URL: http://svn.freebsd.org/changeset/base/216599

Log:
  Fix type used to hold fgetc(3) output, this should help arm and powerpc
  which have char == unsigned char

Modified:
  head/usr.sbin/lmcconfig/lmcconfig.c

Modified: head/usr.sbin/lmcconfig/lmcconfig.c
==============================================================================
--- head/usr.sbin/lmcconfig/lmcconfig.c Mon Dec 20 19:07:56 2010        
(r216598)
+++ head/usr.sbin/lmcconfig/lmcconfig.c Mon Dec 20 19:08:07 2010        
(r216599)
@@ -1940,7 +1940,7 @@ static void load_xilinx(char *name)
   FILE *f;
   char *ucode;
   int i, length;
-  char c;
+  int c;
 
   if (verbose) printf("Load firmware from file %s...\n", name);
   if ((f = fopen(name, "r")) == 0)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to