Date: Mon, 20 Dec 2010 19:08:07 +0000 (UTC) From: Ulrich Spoerlein <uqs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r216599 - head/usr.sbin/lmcconfig Message-ID: <201012201908.oBKJ873i077206@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012201908.oBKJ873i077206>