]> git.sur5r.net Git - u-boot/blobdiff - board/dave/PPChameleonEVB/PPChameleonEVB.c
* Patch by Detlev Zundel, 08 Sep 2004:
[u-boot] / board / dave / PPChameleonEVB / PPChameleonEVB.c
index ffa53f8232a34e7a17f8bf56ccc1e61807378d71..0bd43bd02348af7b0c65884b5deed594d8539bbb 100644 (file)
@@ -32,7 +32,7 @@
 /* ------------------------------------------------------------------------- */
 
 /* Prototypes */
-int gunzip(void *, int, unsigned char *, int *);
+int gunzip(void *, int, unsigned char *, unsigned long *);
 
 int board_early_init_f (void)
 {
@@ -104,7 +104,7 @@ int misc_init_r (void)
        unsigned long cntrl0Reg;
 
        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);
        }