commit | 7fb5266b8e6ee7b3c85b399fbb348b9caca37547 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@pollux.denx.de> | Thu Oct 13 16:45:02 2005 +0200 |
committer | Wolfgang Denk <wd@pollux.denx.de> | Thu Oct 13 16:45:02 2005 +0200 |
tree | e9563b2f28ea59062b90bb5712f141e8e9798aee | |
parent | 74c666c42959ce2ee14efc7f30103a4269ec3e9e [diff] [blame] |
Cleanup for GCC-4.x
diff --git a/cpu/mpc85xx/i2c.c b/cpu/mpc85xx/i2c.c index 2d08487..32dcf5d 100644 --- a/cpu/mpc85xx/i2c.c +++ b/cpu/mpc85xx/i2c.c
@@ -245,12 +245,12 @@ * and looking for an <ACK> back. */ udelay(10000); - return i2c_read (chip, 0, 1, (char *)&tmp, 1); + return i2c_read (chip, 0, 1, (uchar *)&tmp, 1); } uchar i2c_reg_read (uchar i2c_addr, uchar reg) { - char buf[1]; + uchar buf[1]; i2c_read (i2c_addr, reg, 1, buf, 1);