Overview
| Comment: | Fix missing cast |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
ca3e8741577ae26244fd0b536455cdf5 |
| User & Date: | js on 2020-06-24 20:53:41 |
| Other Links: | manifest | tags |
Context
|
2020-06-24
| ||
| 22:30 | OFStdIOStream: Don't use isatty() on iOS (check-in: a98ad80cd3 user: js tags: trunk) | |
| 20:53 | Fix missing cast (check-in: ca3e874157 user: js tags: trunk) | |
| 17:37 | OFEnumerator: Remove const from itemsPtr (check-in: 0428b0ecd2 user: js tags: trunk) | |
Changes
Modified src/OFAdjacentArray.m from [6b6ede6c8d] to [8ce426fd6f].
| ︙ | ︙ | |||
339 340 341 342 343 344 345 | objects: objects count: count_]; if (state->state >= count) return 0; state->state = (unsigned long)count; | | | 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 | objects: objects count: count_]; if (state->state >= count) return 0; state->state = (unsigned long)count; state->itemsPtr = (id *)_array.items; state->mutationsPtr = (unsigned long *)self; return (int)count; } #ifdef OF_HAVE_BLOCKS - (void)enumerateObjectsUsingBlock: (of_array_enumeration_block_t)block |
| ︙ | ︙ |
Modified src/OFMutableAdjacentArray.m from [1107dc450e] to [1999b771ee].
| ︙ | ︙ | |||
324 325 326 327 328 329 330 | return ret; } if (state->state >= count) return 0; state->state = (unsigned long)count; | | | 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
return ret;
}
if (state->state >= count)
return 0;
state->state = (unsigned long)count;
state->itemsPtr = (id *)_array.items;
state->mutationsPtr = &_mutations;
return (int)count;
}
- (OFEnumerator *)objectEnumerator
{
|
| ︙ | ︙ |