Overview
Comment: | Fix missing cast for AmigaOS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4edc83ee08dbdfe4892586570e6a092c |
User & Date: | js on 2020-04-22 22:04:17 |
Other Links: | manifest | tags |
Context
2020-04-22
| ||
22:19 | OFWindowsRegistryKey: Verify string types check-in: 725eec4cfc user: js tags: trunk | |
22:04 | Fix missing cast for AmigaOS check-in: 4edc83ee08 user: js tags: trunk | |
2020-04-21
| ||
22:47 | OFWindowsRegistryKey: Compatibility with Win XP check-in: 94f1f0f479 user: js tags: trunk | |
Changes
Modified src/OFLocale.m from [ddcda35855] to [2f0ab9defe].
︙ | ︙ | |||
458 459 460 461 462 463 464 | uint32_t territory; size_t length; territory = OF_BSWAP32_IF_LE(locale->loc_CountryCode); for (length = 0; length < 4; length++) | | | | 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 | uint32_t territory; size_t length; territory = OF_BSWAP32_IF_LE(locale->loc_CountryCode); for (length = 0; length < 4; length++) if (((char *)&territory)[length] == 0) break; _territory = [[OFString alloc] initWithCString: (char *)&territory encoding: _encoding length: length]; } @finally { CloseLocale(locale); } } |
︙ | ︙ |