Overview
Comment: | Fix a warning with old GCC versions. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3468abde19e7b349e5fc749085df112a |
User & Date: | js on 2009-09-11 11:41:23 |
Other Links: | manifest | tags |
Context
2009-09-13
| ||
18:26 | Add new testing framework - all existing tests are going to be migrated. check-in: d1ddc84e0e user: js tags: trunk | |
2009-09-11
| ||
11:41 | Fix a warning with old GCC versions. check-in: 3468abde19 user: js tags: trunk | |
2009-09-08
| ||
16:06 | New OFDictionary implementation and removal of a hack in OFList. check-in: bbf1f79b8f user: js tags: trunk | |
Changes
Modified src/OFURLEncoding.m from [6669fbc50f] to [fb4ac5dc95].
︙ | ︙ | |||
37 38 39 40 41 42 43 | * @"" literal. */ if ((ret_c = malloc((length * 3) + 1)) == NULL) @throw [OFOutOfMemoryException newWithClass: isa size: (length * 3) + 1]; for (i = 0; *s != '\0'; s++) { | | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | * @"" literal. */ if ((ret_c = malloc((length * 3) + 1)) == NULL) @throw [OFOutOfMemoryException newWithClass: isa size: (length * 3) + 1]; for (i = 0; *s != '\0'; s++) { if (isalnum((int)*s) || *s == '-' || *s == '_' || *s == '.' || *s == '~') ret_c[i++] = *s; else { uint8_t high, low; high = *s >> 4; low = *s & 0x0F; |
︙ | ︙ |