Ignore:
Timestamp:
Feb 27, 2013 12:07:30 PM (12 years ago)
Author:
ming
Message:

Re #1593: Backported to 1.x

Location:
pjproject/branches/1.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x

  • pjproject/branches/1.x/pjlib/src/pj/pool.c

    r3553 r4395  
    8989 * (depending on whether the pool is allowed to resize). 
    9090 */ 
    91 PJ_DEF(void*) pj_pool_allocate_find(pj_pool_t *pool, unsigned size) 
     91PJ_DEF(void*) pj_pool_allocate_find(pj_pool_t *pool, pj_size_t size) 
    9292{ 
    9393    pj_pool_block *block = pool->block_list.next; 
     
    122122            size + sizeof(pj_pool_block) + PJ_POOL_ALIGNMENT)  
    123123    { 
    124         unsigned count; 
     124        pj_size_t count; 
    125125        count = (size + pool->increment_size + sizeof(pj_pool_block) + 
    126126                 PJ_POOL_ALIGNMENT) /  
Note: See TracChangeset for help on using the changeset viewer.