summaryrefslogtreecommitdiff
path: root/src/modules/eina
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2013-01-24 02:58:00 +0000
committerCedric BAIL <cedric.bail@free.fr>2013-01-24 02:58:00 +0000
commiteff597ea1ef50b4aee8e9adea827ffa0accb01cb (patch)
tree9be05ce8783889c9eeed90fde39883952feac667 /src/modules/eina
parentb1d856bc8b69e69b41e235cc51235cb9505307ce (diff)
eina: fix some warning.
SVN revision: 83196
Diffstat (limited to 'src/modules/eina')
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index 2da74adb28..e381f556d1 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -206,12 +206,12 @@ _eina_chained_mempool_alloc_in(Chained_Mempool *pool, Chained_Pool *p)
206static Eina_Bool 206static Eina_Bool
207_eina_chained_mempool_free_in(Chained_Mempool *pool, Chained_Pool *p, void *ptr) 207_eina_chained_mempool_free_in(Chained_Mempool *pool, Chained_Pool *p, void *ptr)
208{ 208{
209#ifdef DEBUG
209 void *pmem; 210 void *pmem;
210 211
211 // pool mem base 212 // pool mem base
212 pmem = (void *)(((unsigned char *)p) + sizeof(Chained_Pool)); 213 pmem = (void *)(((unsigned char *)p) + sizeof(Chained_Pool));
213 214
214#ifdef DEBUG
215 // is it in pool mem? 215 // is it in pool mem?
216 if (ptr < pmem) 216 if (ptr < pmem)
217 { 217 {