summaryrefslogtreecommitdiff
path: root/board/esd/ash405/ash405.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/ash405/ash405.c')
-rw-r--r--board/esd/ash405/ash405.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/ash405/ash405.c b/board/esd/ash405/ash405.c
index 22b38285995..012505e4e6c 100644
--- a/board/esd/ash405/ash405.c
+++ b/board/esd/ash405/ash405.c
@@ -47,7 +47,7 @@ const unsigned char fpgadata[] =
/* Prototypes */
-int gunzip(void *, int, unsigned char *, int *);
+int gunzip(void *, int, unsigned char *, unsigned long *);
int board_early_init_f (void)
@@ -102,7 +102,7 @@ int misc_init_r (void)
int i;
dst = malloc(CFG_FPGA_MAX_SIZE);
- if (gunzip (dst, CFG_FPGA_MAX_SIZE, (uchar *)fpgadata, (int *)&len) != 0) {
+ if (gunzip (dst, CFG_FPGA_MAX_SIZE, (uchar *)fpgadata, &len) != 0) {
printf ("GUNZIP ERROR - must RESET board to recover\n");
do_reset (NULL, 0, 0, NULL);
}