david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Fixed erroneous comparison

This commit is contained in:
Michael Brown 2006-04-25 11:54:58 +00:00
parent 95f8a42930
commit face774c4c
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ void * alloc_memblock ( size_t size, size_t align ) {
* (which can happen only at the very end of
* the heap).
*/
if ( ( size_t ) post_size > MIN_MEMBLOCK_SIZE ) {
if ( ( size_t ) post_size >= MIN_MEMBLOCK_SIZE ) {
post->size = post_size;
list_add ( &post->list, &pre->list );
}