From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 18 Nov 2007 18:36:12 +0100 Subject: [U-Boot-Users] [PATCH 1/1] Fix warning differ in signedness in cpu/pxa/i2c.c In-Reply-To: <1195407372-962-1-git-send-email-plagnioj@jcrosoft.com> References: <20071118165023.GB4286@game.jcrosoft.org> <1195407372-962-1-git-send-email-plagnioj@jcrosoft.com> Message-ID: <1195407372-962-2-git-send-email-plagnioj@jcrosoft.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/cpu/pxa/i2c.c b/cpu/pxa/i2c.c index 722d949..92dd19f 100644 --- a/cpu/pxa/i2c.c +++ b/cpu/pxa/i2c.c @@ -457,7 +457,7 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len) uchar i2c_reg_read (uchar chip, uchar reg) { - char buf; + uchar buf; PRINTD(("i2c_reg_read(chip=0x%02x, reg=0x%02x)\n",chip,reg)); i2c_read(chip, reg, 1, &buf, 1); -- 1.5.3.2