Changeset 4537 for pjproject/trunk/pjlib/src/pj/pool_buf.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/pool_buf.c
r3553 r4537 84 84 #if PJ_HAS_POOL_ALT_API == 0 85 85 struct creation_param param; 86 longalign_diff;86 pj_size_t align_diff; 87 87 88 88 PJ_ASSERT_RETURN(buf && size, NULL); … … 95 95 96 96 /* Check and align buffer */ 97 align_diff = ( long)buf;97 align_diff = (pj_size_t)buf; 98 98 if (align_diff & (PJ_POOL_ALIGNMENT-1)) { 99 99 align_diff &= (PJ_POOL_ALIGNMENT-1);
Note: See TracChangeset
for help on using the changeset viewer.