* Patch by Robert Schwebel, 10 Jun 2004:
  Add support for Intel K3 strata flash.

* Some cleanup

* Patch by Thomas Brand, 10 Jun 2004:
  Fix "loads" command on DK1S10 board
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index 207c211..27e7273 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -103,7 +103,7 @@
 
 		memset(&part, 0, sizeof(part));
 
-		part.offset = CONFIG_JFFS2_NAND_OFF;
+		part.offset = (char *)CONFIG_JFFS2_NAND_OFF;
 		part.size = CONFIG_JFFS2_NAND_SIZE; /* the bigger size the slower jffs2 */
 
 #ifndef CONFIG_JFFS2_NAND_DEV