Misc (re #1843): Fixed compile error in app samples on some compiler due to implicit conversion of 'void *' to 'pj_pool_t *'.

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5141 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Nanang Izzuddin 2015-07-31 07:18:33 +00:00
parent 92444fe4ba
commit 563ea87359
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ void dump_pool_usage( const char *app_name, pj_caching_pool *cp )
pj_size_t total_used = 0;
/* Accumulate memory usage in active list. */
p = cp->used_list.next;
p = (pj_pool_t*)cp->used_list.next;
while (p != (pj_pool_t*) &cp->used_list) {
total_alloc += pj_pool_get_capacity(p);
total_used += pj_pool_get_used_size(p);