Changeset 4537 for pjproject/trunk/pjlib/src/pjlib-test/pool.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/pool.c
r3553 r4537 94 94 return -300; 95 95 96 #define IS_ALIGNED(p) ((((unsigned long)p) & (PJ_POOL_ALIGNMENT-1)) == 0) 96 #define IS_ALIGNED(p) ((((unsigned long)(pj_ssize_t)p) & \ 97 (PJ_POOL_ALIGNMENT-1)) == 0) 97 98 98 99 for (i=0; i<LOOP; ++i) { … … 196 197 ~(PJ_POOL_ALIGNMENT - 1); 197 198 else 198 size = freesize;199 size = (int)freesize; 199 200 200 201 p = pj_pool_alloc(pool, size);
Note: See TracChangeset
for help on using the changeset viewer.