Changeset 56
- Timestamp:
- Nov 19, 2005 1:19:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/scanner.c
r51 r56 47 47 for (i=0; i<PJ_CIS_MAX_INDEX; ++i) { 48 48 if ((cis_buf->use_mask & (1 << i)) == 0) { 49 cis->cis_i ndex= i;49 cis->cis_id = i; 50 50 return PJ_SUCCESS; 51 51 } 52 52 } 53 53 54 cis->cis_i ndex= PJ_CIS_MAX_INDEX;54 cis->cis_id = PJ_CIS_MAX_INDEX; 55 55 return PJ_ETOOMANY; 56 56 } … … 61 61 unsigned i; 62 62 63 status = pj_cis_init(existing->cis_buf, new_cis); 63 /* Warning: typecasting here! */ 64 status = pj_cis_init((pj_cis_buf_t*)existing->cis_buf, new_cis); 64 65 if (status != PJ_SUCCESS) 65 66 return status;
Note: See TracChangeset
for help on using the changeset viewer.