From 472407c71944ea8de79d379081d03d03b0e480c8 Mon Sep 17 00:00:00 2001 From: jgrubb Date: Wed, 28 Nov 2007 17:19:15 +0000 Subject: [PATCH] Fix typo (MEMP_POOL_START/END to FIRST/LAST) --- src/core/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/mem.c b/src/core/mem.c index 01f47caf..03855484 100644 --- a/src/core/mem.c +++ b/src/core/mem.c @@ -72,7 +72,7 @@ mem_malloc(mem_size_t size) struct mem_helper *element; memp_t poolnr; - for (poolnr = MEMP_POOL_START; poolnr <= MEMP_POOL_END; poolnr++) { + for (poolnr = MEMP_POOL_FIRST; poolnr <= MEMP_POOL_LAST; poolnr++) { /* is this pool big enough to hold an element of the required size plus a struct mem_helper that saves the pool this element came from? */ if ((size + sizeof(struct mem_helper)) <= memp_sizes[poolnr]) {