summaryrefslogtreecommitdiff
path: root/board/barco/barco.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/barco/barco.c')
-rw-r--r--board/barco/barco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/barco/barco.c b/board/barco/barco.c
index 613e72274c..becbd0abda 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));