Warning fix

Pavel Roskin pavel_roskin at geocities.com
Tue Feb 15 04:26:30 EST 2000


Hello!

This patch fixes a warning in the kernel (2.2.13)
Anyway, warnings are not quite useful to anybody except those who wrote
this code.

Pavel Roskin

=== cut here ===
diff -u -r1.1.1.1 misc.c
--- arch/ppc/mbxboot/misc.c	2000/01/03 20:10:39	1.1.1.1
+++ arch/ppc/mbxboot/misc.c	2000/02/14 16:53:30
@@ -261,7 +261,7 @@
 	/* Set end of memory available to us.  It is always the highest
 	 * memory address provided by the board information.
 	 */
-	end_avail = bp->bi_memsize;
+	end_avail = (char *)bp->bi_memsize;
 #endif

 	puts("loaded at:     "); puthex(load_addr);
=== cut here ===


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list