diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:25:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:25:21 +0000 |
commit | 2bad8aa57c02dbeffb727de89396ece3930c77b9 (patch) | |
tree | e3f13dd00bb5867b6e7fcc40834287d1a7a37eaf | |
parent | added return statement to avoid warning. (diff) | |
download | rtems-2bad8aa57c02dbeffb727de89396ece3930c77b9.tar.bz2 |
added cast to eliminate warning.
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/startup/bspstart.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |