Changeset 29

Show
Ignore:
Timestamp:
06/11/06 20:11:18 (3 years ago)
Author:
scott
Message:

Bug fix

  • apool.h: ! has higher precidence than apool_empty missing parenthesis.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libapool/apool.h

    r28 r29  
    1515 
    1616#define apool_double(pool) apool_expand(pool, pool->blocks) 
    17 #define apool_empty(pool) pool->pos == 0 
     17#define apool_empty(pool) (pool->pos == 0) 
    1818 
    1919extern apool * apool_new (size_t blocks, size_t blocksize);