]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/w7o/fpga.c
Cleanup for GCC-4.x
[people/ms/u-boot.git] / board / w7o / fpga.c
index 336bfbaccc6cf185a235faeec4fcce2fdd2a1c64..100bce4722ecf321ee547adb860c4f7b1301a642 100644 (file)
@@ -252,7 +252,7 @@ int init_fpga(void)
     xcv_len = len - 14 - fn_len;               /* fpga image length */
 
     /* Check for uninitialized FLASH */
-    if ((strncmp(buf, "w7o", 3)!=0) || (len > 0x0007ffffL) || (len == 0))
+    if ((strncmp((char *)buf, "w7o", 3)!=0) || (len > 0x0007ffffL) || (len == 0))
        goto bad_image;
 
     /*