Overview
Comment: | Replace a forgotten SIZE_MAX with UINT_MAX in OFObject.m. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
287d598b5a127ba4b9ef897c1416830b |
User & Date: | js on 2011-06-13 00:06:40 |
Other Links: | manifest | tags |
Context
2011-06-13
| ||
00:10 | Add OFFloatMatrix. check-in: 4276459937 user: js tags: trunk | |
00:06 | Replace a forgotten SIZE_MAX with UINT_MAX in OFObject.m. check-in: 287d598b5a user: js tags: trunk | |
2011-06-11
| ||
00:24 | Add OFFloatVector. check-in: d94b9059f2 user: js tags: trunk | |
Changes
Modified src/OFObject.m from [ace848aef2] to [c23b582461].
︙ | ︙ | |||
709 710 711 712 713 714 715 | i--; if (OF_UNLIKELY(*iter == pointer)) { memoryChunksSize = PRE_IVAR->memoryChunksSize - 1; last = PRE_IVAR->memoryChunks[memoryChunksSize]; assert(PRE_IVAR->memoryChunksSize != 0 && | | | 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 | i--; if (OF_UNLIKELY(*iter == pointer)) { memoryChunksSize = PRE_IVAR->memoryChunksSize - 1; last = PRE_IVAR->memoryChunks[memoryChunksSize]; assert(PRE_IVAR->memoryChunksSize != 0 && memoryChunksSize <= UINT_MAX / sizeof(void*)); if (OF_UNLIKELY(memoryChunksSize == 0)) { free(pointer); free(PRE_IVAR->memoryChunks); PRE_IVAR->memoryChunks = NULL; PRE_IVAR->memoryChunksSize = 0; |
︙ | ︙ |