summaryrefslogtreecommitdiff
path: root/board/ispan/ispan.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-10-13 16:45:02 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-10-13 16:45:02 +0200
commit77ddac9480d63a80b6bb76d7ee4dcc2d1070867e (patch)
treee9563b2f28ea59062b90bb5712f141e8e9798aee /board/ispan/ispan.c
parent17a8b276ba2b3499b75cd60b0b5289dbbea7967b (diff)
Cleanup for GCC-4.x
Diffstat (limited to 'board/ispan/ispan.c')
-rw-r--r--board/ispan/ispan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ispan/ispan.c b/board/ispan/ispan.c
index fd348996212..d39b8cd5335 100644
--- a/board/ispan/ispan.c
+++ b/board/ispan/ispan.c
@@ -290,7 +290,7 @@ static int hwc_serial_number (void)
{
int sn = -1;
- if (!seeprom_read (0xa0, (char *) &sn, sizeof (sn))) {
+ if (!seeprom_read (0xa0, (uchar *) &sn, sizeof (sn))) {
sn = cpu_to_le32 (sn);
}
return sn;
@@ -300,7 +300,7 @@ static int hwc_mac_address (char *str)
{
char mac[6];
- if (!seeprom_read (0xb0, mac, sizeof (mac))) {
+ if (!seeprom_read (0xb0, (uchar *)mac, sizeof (mac))) {
sprintf (str, "%02X:%02X:%02X:%02X:%02X:%02X",
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
} else {