Cleanup for GCC-4.x
[oweals/u-boot.git] / board / sixnet / sixnet.c
index c31ea539e2b0886861c24c50a7ffd4158c60c570..867589f918e36da26cd8bd7b81ac89d1689e744c 100644 (file)
@@ -356,7 +356,7 @@ void nand_init(void)
 static long ram_size(ulong *base, long maxsize)
 {
     volatile long      *test_addr;
-    volatile long      *base_addr = base;
+    volatile ulong     *base_addr = base;
     ulong              ofs;            /* byte offset from base_addr */
     ulong              save;           /* to make test non-destructive */
     ulong              save2;          /* to make test non-destructive */