Ignore:
Timestamp:
Apr 30, 2007 9:03:32 PM (14 years ago)
Author:
bennylp
Message:

Initial Symbian integration to trunk for pjlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/pool_caching.c

    r1019 r1235  
    8686    /* Delete all pool in free list */ 
    8787    for (i=0; i < PJ_CACHING_POOL_ARRAY_SIZE; ++i) { 
    88         pj_pool_t *pool = cp->free_list[i].next; 
     88        pj_pool_t *pool = (pj_pool_t*) cp->free_list[i].next; 
    8989        pj_pool_t *next; 
    9090        for (; pool != (void*)&cp->free_list[i]; pool = next) { 
     
    9696 
    9797    /* Delete all pools in used list */ 
    98     pool = cp->used_list.next; 
     98    pool = (pj_pool_t*) cp->used_list.next; 
    9999    while (pool != (pj_pool_t*) &cp->used_list) { 
    100100        pj_pool_t *next = pool->next; 
     
    165165    } else { 
    166166        /* Get one pool from the list. */ 
    167         pool = cp->free_list[idx].next; 
     167        pool = (pj_pool_t*) cp->free_list[idx].next; 
    168168        pj_list_erase(pool); 
    169169 
     
    258258                             cp->capacity, cp->max_capacity, cp->used_count)); 
    259259    if (detail) { 
    260         pj_pool_t *pool = cp->used_list.next; 
     260        pj_pool_t *pool = (pj_pool_t*) cp->used_list.next; 
    261261        pj_uint32_t total_used = 0, total_capacity = 0; 
    262262        PJ_LOG(3,("cachpool", "  Dumping all active pools:")); 
Note: See TracChangeset for help on using the changeset viewer.