diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-13 16:45:02 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-13 16:45:02 +0200 |
commit | 77ddac9480d63a80b6bb76d7ee4dcc2d1070867e (patch) | |
tree | e9563b2f28ea59062b90bb5712f141e8e9798aee /board/barco/barco.c | |
parent | 17a8b276ba2b3499b75cd60b0b5289dbbea7967b (diff) | |
download | u-boot-imx-77ddac9480d63a80b6bb76d7ee4dcc2d1070867e.zip u-boot-imx-77ddac9480d63a80b6bb76d7ee4dcc2d1070867e.tar.gz u-boot-imx-77ddac9480d63a80b6bb76d7ee4dcc2d1070867e.tar.bz2 |
Cleanup for GCC-4.x
Diffstat (limited to 'board/barco/barco.c')
-rw-r--r-- | board/barco/barco.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/barco/barco.c b/board/barco/barco.c index 613e722..becbd0a 100644 --- a/board/barco/barco.c +++ b/board/barco/barco.c @@ -174,7 +174,7 @@ unsigned update_flash (unsigned char *buf) switch ((*buf) & 0x3) { case TRY_WORKING: printf ("found 3 and converted it to 2\n"); - write_flash (buf, (*buf) & 0xFE); + write_flash ((char *)buf, (*buf) & 0xFE); *((unsigned char *)0xFF800000) = 0xF0; udelay (100); printf ("buf [%#010x] %#010x\n", buf, (*buf)); |