From owner-svn-src-all@FreeBSD.ORG Mon Dec 20 19:08:07 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE5461065741; Mon, 20 Dec 2010 19:08:07 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AC9848FC21; Mon, 20 Dec 2010 19:08:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oBKJ87DD077208; Mon, 20 Dec 2010 19:08:07 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oBKJ873i077206; Mon, 20 Dec 2010 19:08:07 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201012201908.oBKJ873i077206@svn.freebsd.org> From: Ulrich Spoerlein Date: Mon, 20 Dec 2010 19:08:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216599 - head/usr.sbin/lmcconfig X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 19:08:07 -0000 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)