mtd/drivers/mtd mtdpart.c,1.30,1.31
David Woodhouse
dwmw2 at infradead.org
Fri Sep 13 10:39:14 EDT 2002
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv4529
Modified Files:
mtdpart.c
Log Message:
fix cast warning
Index: mtdpart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdpart.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- mtdpart.c 5 Sep 2002 20:24:46 -0000 1.30
+++ mtdpart.c 13 Sep 2002 14:39:11 -0000 1.31
@@ -73,7 +73,7 @@
{
struct mtd_part *part = PART(mtd);
- part->master->unpoint (part->master, ((unsigned long) addr) - part->offset);
+ part->master->unpoint (part->master, (void *)((unsigned long) addr) - part->offset);
}
More information about the linux-mtd-cvs
mailing list