From 2bad8aa57c02dbeffb727de89396ece3930c77b9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Apr 1997 21:25:21 +0000 Subject: added cast to eliminate warning. --- c/src/lib/libbsp/m68k/efi332/startup/bspstart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c') diff --git a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c index b62bc14dc6..108f9be995 100644 --- a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c @@ -57,7 +57,7 @@ void bsp_libc_init() if (heap_start & (CPU_ALIGNMENT-1)) heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); - if (heap_start > RAM_END) { + if (heap_start > (rtems_unsigned32) RAM_END) { /* rtems_fatal_error_occurred can not be used before initalization */ RAW_PUTS("\n\rRTEMS: Out of memory.\n\r"); RAW_PUTS("RTEMS: Check RAM_END and the size of the work space.\n\r"); -- cgit v1.2.3