Parent Directory | Revision Log | Patch
revision 1.1.1.1 by likewise, Sat Oct 19 13:00:33 2002 UTC | revision 1.2 by jani, Thu Nov 14 12:20:37 2002 UTC | |
---|---|---|
# | Line 266 mem_realloc(void *rmem, mem_size_t newsi | Line 266 mem_realloc(void *rmem, mem_size_t newsi |
266 | (u8_t *)rmem < (u8_t *)ram_end); | (u8_t *)rmem < (u8_t *)ram_end); |
267 | ||
268 | if((u8_t *)rmem < (u8_t *)ram || (u8_t *)rmem >= (u8_t *)ram_end) { | if((u8_t *)rmem < (u8_t *)ram || (u8_t *)rmem >= (u8_t *)ram_end) { |
269 | DEBUGF(MEM_DEBUG, ("mem_free: illegal memory\n")); | DEBUGF(MEM_DEBUG, ("mem_realloc: illegal memory\n")); |
270 | return rmem; | return rmem; |
271 | } | } |
272 | mem = (struct mem *)((u8_t *)rmem - SIZEOF_STRUCT_MEM); | mem = (struct mem *)((u8_t *)rmem - SIZEOF_STRUCT_MEM); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |